How can I access the value of a checkbox without a postback?

Posted by Starwfanatic on Stack Overflow See other posts from Stack Overflow or by Starwfanatic
Published on 2010-06-16T22:42:59Z Indexed on 2010/06/16 22:52 UTC
Read the original article Hit count: 251

Filed under:
|
|
|
|

I have a radgrid controlling access to an application for users. There are two columns, a 'name' column and a checkbox 'access' column representing their current access permission. the checkboxes are populated from a database. I would like the to change the checkboxes to grant or deny access to the users I specify. Since there are alot of users I would like to make multiple changes and use a submit button to write the changes to the database. I do not want to postback with each checkbox change and wait for the page to "blink". My problem is that with the checkbox postback disabled, when I click submit, the value of the checkboxes are not registering the changes I make. I need a way to access the current client-side state of the checkbox or some workaround to accomplish this.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET