GridcheckBox with ReadOnly=false is not working (unable to check/uncheck)
I have a few GridCheckBoxColumn inside a RadGrid. I have the ReadOnly property set to false but i cannot edit any of the checkboxes, that is I can neither check or uncheck them.
Anyone with any ideas as to why this is happening? Any comments/suggestions/ideas/correctiosn much appreciated as I'n new to the whole telerik markup.
In browser mode, the check box in GridCheckBoxColumn is disabled, so that it acts as a read-only control. If you want to check/uncheck the CheckBox in browser mode, then use CheckBox inside GridTemplateColumn like below.
This works like a charm. Thank you. Now I'm trying to use Ajax to register a change in the status of any of the checkboxes. I want to feed this change back to the Session variable in the code-behind file.
Any ideas/starters as how to do this?
Once again comments/suggestions/ideas much appreciated and thanks again.
One suggestion is adding CheckedChanged event to CheckBox and saving the corresponding value in in session from code behind and ajaxify the grid using AjaxManager/AjaxPanel.
Another option is invoking the ajaxRequest from client event and saving the values in session variable in AjaxManager_AjaxRequest server event.
For accomplishing this attach the onclick event to checkbox from code behid.