Reputation: 11995
is it possible display a 'x' for an html checkbox when we click on it. Traditionally on ie, (on winxp and greater) it appears as a 'tick' mark. Can we change this? Or else what is the alternative to this in asp.net
Upvotes: 5
Views: 5734
Reputation: 1546
Check out the Ajax Control Toolkit's ToggleButton Control: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ToggleButton/ToggleButton.aspx
I think it might be what you're looking for.
Upvotes: 0
Reputation: 2928
I'm not sure if you are talking to Web Application or Windows application. Let's assume that you meant Web application. You can't change normal input, it's something in system settings.
However, you can put Javascript that will put CSS images instead. Example: http://www.whitespace-creative.com/jquery/jNice/ or http://aaronweyenberg.com/90/pretty-checkboxes-with-jquery
Upvotes: 0
Reputation: 17840
I guess you can hack something using images instead of a real checkbox, using javascript to change the image selection
Upvotes: 3