In my grid I have two template columns and each one contains an asp:checkbox in its template. Within each row, I would like to have only one checkbox checked at a time and I would like to handle it client side.
I have been through the code library and there are several good examples of keeping only one checkbox in a template in a column checked at a time - but not within a row.
Does anyone have a snippet to get me started?
I guess onclick just looping through all the controls in the row, trapping just checkboxes and, when one is found, as long as it is not the one being clicked, uncheck it.
I would appreciate any head starts on this - thanks!
I have been through the code library and there are several good examples of keeping only one checkbox in a template in a column checked at a time - but not within a row.
Does anyone have a snippet to get me started?
I guess onclick just looping through all the controls in the row, trapping just checkboxes and, when one is found, as long as it is not the one being clicked, uncheck it.
I would appreciate any head starts on this - thanks!