如何在asp复选框上应用翻转开关css?在js和css的帮助下。 [英] How to apply flip switch css on asp checkbox? with the help of js and css.

查看:62
本文介绍了如何在asp复选框上应用翻转开关css?在js和css的帮助下。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有......

我正在开发一个asp.net项目。根据客户的建议,我必须使用switch-flip复选框。 (用js和css的肝脏)。我搜索了很多关于翻转开关asp复选框的js-css文章。 。但他们在某个地方有点不对劲。我还没有达到正确的解决方案。

所以任何人都可以给我任何暗示在asp复选框上应用css或js。使其成为开关翻转型。 ?????



提前感谢。



我的尝试:



i正在互联网上寻找解决方案。我发现下面的解决方案它不能正常工作。





外部链接是:



< ; link rel =stylesheethref =// code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css\">

< script src =// code.jquery.com/jquery-1.10.2.min.js\"></script>

< script src =// code.jquery.com/mobile /1.4.5/jquery.mobile-1.4.5.min.js\"></script>





CheckBox来源代码如下:









< asp:CheckBox runat =serverid =textCheckdata-role =flipswitch

AutoPostBack =true/>



解决方案

< blockquote>您可以使用Bootstrap开关。这很棒,易于使用。 引导开关·转动开关中的复选框和单选按钮 [ ^ ]。


检查一下。,,



[ ^ ]





这是一个asp.net griview控制。还有一个开关翻转开关按钮。这是asp复选框


hello All...
im working on a asp.net project . and on client's recommendation i have to use switch-flip checkbox . (with the hep of js and css). i searched out many js-css articles regarding flip-switch asp checkbox. . but they are faulty somewhere . i didnt reach to the proper solution till yet .
so can anyone give me any hint to apply css or js on asp checkbox. to make it switch-flip type. ?????

thanks in advance.

What I have tried:

i was looking for the solution on internet . i found below solution. its not working properly.


External Links Are:

<link rel="stylesheet" href="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>


CheckBox source code is below :




<asp:CheckBox runat="server" id="textCheck" data-role="flipswitch"
AutoPostBack="true" />


解决方案

You can use Bootstrap switch. That is awesome and easy to use. Bootstrap Switch · Turn checkboxes and radio buttons in toggle switches[^].


check this .,,

[^]


this is an asp.net griview control . and there is an on off flip switch button . that is asp checkbox


这篇关于如何在asp复选框上应用翻转开关css?在js和css的帮助下。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆