This is a migrated thread and some comments may be shown as answers.

RadComboBox OnItemChecked not firing when checking All checkbox

3 Answers 391 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 16 Nov 2011, 01:31 PM
Hi,

I'm using RadComboBox with Checkboxes. The event OnItemChecked is not fired when you check/uncheck the All checkbox. Is there a way to determine when the user check/uncheck the all checkbox?

Best Regards
//HK

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Nov 2011, 01:45 PM
Hello,

Make sure that you set the AutoPostBack property as true and it is worked as expected in my end. I am using the  version 2011, 2, 915, 35.

Thanks,
Princy.
0
Håkan
Top achievements
Rank 1
answered on 16 Nov 2011, 02:29 PM
Hi again,

It's working fine for all checkboxes except the one you get when you set EnableCheckAllItemsCheckBox="true". Is there a separate event for this checkbox?


//HK
0
Kalina
Telerik team
answered on 21 Nov 2011, 09:44 AM
Hello Håkan,

Indeed, ItemChecked event fires only when an “item checkbox” is checked.
When the CheckAllItemsCheckbox is checked - no server-side event fires.
However you can easily obtain the checked items at server-side by using an ASP.NET Button to fire postbask - as it is demonstrated here.

Regards,
Kalina
the Telerik team
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
Tags
ComboBox
Asked by
Håkan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Håkan
Top achievements
Rank 1
Kalina
Telerik team
Share this question
or