One very simple way (and sometimes one I use for checkboxes in read-only grids) is to have three images, one for each state. Clicking the image simply changes to the next state. You could wrap all of this up into a custom control.
Clearly, the use of images reduces the amount of styling. You could implement a box with a text based "tick" in it also to get more styling attributes such as box/tick size, colour, etc.
aspfan
Member
5 Points
1 Post
TRi State checkbox
Jul 16, 2006 09:58 PM|LINK
sbyard
Contributor
5891 Points
1196 Posts
Re: TRi State checkbox
Jul 17, 2006 08:22 AM|LINK
One very simple way (and sometimes one I use for checkboxes in read-only grids) is to have three images, one for each state. Clicking the image simply changes to the next state. You could wrap all of this up into a custom control.
Clearly, the use of images reduces the amount of styling. You could implement a box with a text based "tick" in it also to get more styling attributes such as box/tick size, colour, etc.
Nasser Malik
Star
11584 Points
1778 Posts
Re: TRi State checkbox
Sep 14, 2011 05:49 AM|LINK
ASP.NET TriState CheckBox Made Easy
see following it resolved ..
http://forums.asp.net/t/1490519.aspx/1
http://forums.asp.net/t/1143535.aspx/1
Skype: maleknasser1