RadComboBox with checkboxes - how to check if value was changed

2 posts, 0 answers
  1. Karel
    Karel avatar
    11 posts
    Member since:
    Aug 2011

    Posted 13 Feb 2014 Link to this post


    is there any event that is fired if value of combobox with checkboxes was changed? ( I need it to load items to dependent comboboxes) And I cannot use ItemChecked event, I need event that is fired after user closes dropdown, not event that is fired after each item is checked. TextChanged event is also useless in this situation because it works only if I select 1 item in combobox. SelectIndexChanged also doesn't work for more than one item.

    So is there any way how to do that or do I have to use client-side events?

    Karel Bem
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Feb 2014 in reply to Karel Link to this post

    Hi Karel,

    You can handle the OnClientDropDownClosed event to achieve your scenario. This event will fire after the drop down list has been close. Please have a look into the following code snippet to get the CheckedItems of RadComboBox in OnClientDropDownClosed event. 

    <telerik:RadComboBox ID="RadComboBox1" runat="server" CheckBoxes="true" OnClientDropDownClosed="OnClientDropDownClosed1">
            <telerik:RadComboBoxItem Text="Item1" />
            <telerik:RadComboBoxItem Text="Item2" />
            <telerik:RadComboBoxItem Text="Item3" />

    <script type="text/javascript">
        function OnClientDropDownClosed1(sender, args) {
            var checkeditems = sender.get_checkedItems();
            //your code

Back to Top