I have this column in a RadGrid :
Why can I do it?
Thanks for your help.
7 Answers, 1 is accepted
Try the following.
Note: Set AutoPostBack of CheckBox as true.
thanks for your solution, but i don't want to use AutoPostBack because it's much slow if I want to quickly check multiple checkbox.
I have already recovered the row with this but I'm unable to get the checkbox :
Have you an idea?
Excuse me for my English, I'm French and I do not entirely mastering the language.
Thanks for advance.
You can change the enabled state of the NumericTextBox on the client without postback in the following way:
All the best,
the Telerik team
Thanks for your help, but i have encounter 2 problem with your solution :
- The first : The asp:ChexkBox doesn't have onchange handler (i have using an <input type="CheckBox" />)
- The second : I use IE8, witch does not support well onchange handler (it performs a focus and wait a focus off to execute the onchange), I've read that i was to use onblur handler.
Finally, i have used JQuery for having the great run using :
The server side ASP.NET control basically renders nothing more than a input type=checkbox, so even if the onchange (onclick) event is not actually event of the server control it will still be set as an attribute to the input that is rendered. Of course you can also use the classic HTML input type checkbox if you don't require any server-side processing.
About the second problem: indeed the onchange event is not supported in older versions of IE. That's why it is better to use the onclick event to ensure cross-browser compatibility. It should work fine in all browsers:
Of course using jQuery is also an option here. All the best,
the Telerik team