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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
Using CheckBoxes within the DataGrid control to select records
http://www.codeproject.com/aspnet/ChkBoxInGrid.asp