Link to home
Start Free TrialLog in
Avatar of jaws1021
jaws1021

asked on

enable disable checkboxes in datagrid

I have a datagrid that has checkbox and dropdown templates, I want to have a javascript function would grab a checkbox id  whichever checkbox in datagrid gets checked. So, function will loop thru datagrid rows and find the checked ones. How can I do that? Once it find that I want to be able to disable some of the rows checkboxes. That gets me confused how to do that?
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

An article that can help you on your way:
Using CheckBoxes within the DataGrid control to select records
http://www.codeproject.com/aspnet/ChkBoxInGrid.asp
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaws1021
jaws1021

ASKER

I am sorry I should have written I need this on client side, so without using ajax I don't want to my page to refresh. I actually did whole project at the server side and on checkchanged event everything was working perfect except page refresh then I tried to put ajax, ajax stopped refreshing whole page but didn't stop flickering dropdown , which I found out later that was bug for IE browser 6, which is okay for the other ones such as firefox or even maybe for IE7, so now I am tried of wasting my time and I wan to to do old fashion javascript so it will be no refreshing ... I need this above code to be doing same thing on javascript, I am not that good at javascript  but I will manage. Thanks.