如何更改复选框的刻度颜色 [英] how to change tick color of check box

查看:87
本文介绍了如何更改复选框的刻度颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用网格视图的模板"字段中的复选框.我同时使用了复选框的foreColor和背景颜色属性,但它不起作用.

问题:-如何更改复选框的刻度颜色.

Hi,

I am using the checkbox in Template field of grid view. I have used both foreColor and background color property of checkbox but it is not working.

Question:- How to change the tick color of checkbox.

推荐答案

您是否尝试过更改CSS文件中的颜色,然后将CSS类分配给的CssClass属性?复选框?
Have you tried changing the colors in your CSS file, then assigning the CSS class to the CssClass property of the CheckBox?


您不能更改刻度线的颜色,可以使用选中和取消选中图像作为复选框.您需要将其状态保存在页面上的某个位置.
You can not change the color of tick, you can use check & uncheck images which can work as a checkbox. you need to save its state somewhere on your page.


查看此 jQuery UI复选框 [ ^ ]演示.


这篇关于如何更改复选框的刻度颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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