css for asp.net控件的复选框 [英] css for checkbox of asp.net control

查看:86
本文介绍了css for asp.net控件的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好

朋友,

i想要使用这个

https://proto.io/freebies/onoff/ [ ^ ]

用于复选框控件的设计(用于asp.net控件的动画复选框)。

i想要弹出窗口中的复选框,在网格中查看。

任何人都有回答告诉我。

谢谢。

解决方案

我不确定如果窃取他人的设计理念是可以接受的,但至少你可以学习一些技巧。您只需要学习HTML,JavaScript和DOM,并查看您正确引用的页面。为此,请使用浏览器的查看/页面源菜单项并阅读源代码。您还可能需要下载此页面引用的其他文件。 CSS可以在一个或多个单独的文件中,并且可以使用JavaScript。 (对不起,我没有时间找出来;如果我这样做了,那就没什么用了;只有你自己做的才有帮助。)



祝你好运。

-SA


我用它来获取动画复选框。

这是用于网格视图。

 <   div     class   =  onoffswitch >  

< 输入 名称 = onoffswitch class = onoffswit ch-checkbox id =' chk <%#((GridViewRow)Container).RowIndex%>' onclick = javascript:isActiveChange('chk <%#((GridViewRow)Container).RowIndex%>'); type = 复选框 >

< label class = onoffswitch-label for =' chk <%#((GridViewRow)Container).RowIndex%>' >
< ; span class < span class =code-keyword> = onoffswitch-inner > < span class =code-keyword>< / span >
< span class = onoffswitch-switch > < / spa n >
< / label >
< / div >





这是弹出窗口。



 <   div     class   =   onoffswitch >  
< 输入 type = 复选框 name = onoffswitch class = onoffswitch-checkbox id = chkIU onclick = < span class =code-keyword> javascript:isActiveChange('chkIU'); >
< label class = onoffswitch-label = chkIU >
< span class = onoffswitch-inner > < / span >
< span class = onoffswitch-switch > < / span >
< / label >
< / div >


Good Morning
friends ,
i want to use this
https://proto.io/freebies/onoff/[^]
kind of design for checkbox control(animated check box for asp.net control).
i want check box in pop up window , in grid view .
Any one have answer tell me.
Thank you.

解决方案

I'm not sure if it would be acceptable to steal someone else's design idea, but at least you can learn some technique. All you need to do it to learn HTML, JavaScript and DOM and look at the page you referenced properly. To do so, use your browser's "View / Page Source" menu item and read the source. You also may need to download other files referenced from this page. CSS could be in one or more separate files, and JavaScript could be used. (Sorry, I did not get time to find out; if I did, it would not help much; if will help only if you do it by yourselfa).

Good luck.
—SA


I have used this , to get animated check box.
This is for grid view.

<div class="onoffswitch">

<input name="onoffswitch" class="onoffswitch-checkbox" id='chk<%# ((GridViewRow)Container).RowIndex %>'onclick="javascript: isActiveChange('chk<%# ((GridViewRow)Container).RowIndex %>');" type="checkbox">

<label class="onoffswitch-label" for='chk<%# ((GridViewRow)Container).RowIndex %>'>
 <span class="onoffswitch-inner"></span>
 <span class="onoffswitch-switch"></span>
</label>
</div>



This is for pop up.

<div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="chkIU" onclick="javascript: isActiveChange('chkIU');">
<label class="onoffswitch-label" for="chkIU">
 <span class="onoffswitch-inner"></span>
 <span class="onoffswitch-switch"></span>
</label>
</div>


这篇关于css for asp.net控件的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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