Jonas Bush

Blog.blog.blog.blog
posts - 16, comments - 161, trackbacks - 17

My Links

News

Archives

Post Categories

Image Galleries

General

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, July 27, 2006 10:10 PM | Feedback (72) | Filed Under [ ASP.Net ]

Powered by: