Geeks With Blogs
Jonas Bush Blog.blog.blog.blog July 2006 Entries
Enabling/disabling asp.net checkboxes through javascript
The problem: You want to have a web form with multiple checkboxes, and have some of them be enabled or disabled depending on whether a certain checkbox is checked (or radio button selected, or what have you). At first glance, this seems fairly simple; you can just do: <%=myCheckBox.ClientID%&... = false; in javascript. The problem comes when you, on the server side, disable the checkbox by default. (NB: this pertains to ASP.Net 2.0, it may work differently in 1.x). The problem is that ......

Posted On Thursday, July 27, 2006 10:10 PM

Copyright © Jonas Bush | Powered by: GeeksWithBlogs.net