RadComboBox OnItemChecked not firing when checking All checkbox

4 posts, 0 answers
  1. Håkan
    Håkan avatar
    3 posts
    Member since:
    Nov 2011

    Posted 16 Nov 2011 Link to this post

    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
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 16 Nov 2011 Link to this post

    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.
  3. Håkan
    Håkan avatar
    3 posts
    Member since:
    Nov 2011

    Posted 16 Nov 2011 Link to this post

    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
  4. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 21 Nov 2011 Link to this post

    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
Back to Top