If you want to perform a custom client-side action when
the "CheckAllItems" checkbox is checked, then you can attach a
change() event handler at this checkbox in this way.
JS:
Thanks for thr reply, i tried the code plus adding calling of this function on the onload event of the RadComboBox
The function is called, but i noticed that the get_text() display emty string when i check the checkALLItem and when i uncheck it it gives me the All items checked....
any way, this is stange but i successed to call my javacript function....
thanks and just let me know if you have any explanation for this behavior!!!!
asa'ad....
0
Ivana
Telerik team
answered on 18 Jun 2012, 08:39 AM
Hi Asa'ad,
Make sure you have subscribed to the change event of the input element instead to the click event -- in which case the text from the RadComboBox's input is taken before the checked state of 'Check All' CheckBox is changed.
Example:
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.