views:

226

answers:

4

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

+2  A: 

I guess you can hack something using images instead of a real checkbox, using javascript to change the image selection

Midhat
yeah, like http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/
rkulla
A: 

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

confiq
A: 

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.

mga911
A: 

there's fancy-forms to accomplish exactly this

knittl