radcombobox TextChanged event not firing when number of checked items is the same

2 posts, 0 answers
  1. MRa
    MRa avatar
    16 posts
    Member since:
    Dec 2012

    Posted 26 Aug 2013 Link to this post

    I have a combobox and i have set up a Textchanged event for it. The event fires fine when i select a different number of items every time, ex: select 1 (A) checkbox, then select 2 (A & B) checkboxes, then select 1 (A) checkbox again, etc. When i keep selecting 2 items (different items every time) the event does not get fired, ex: select 2 checkboxes (A & B), select 2 checkboxes (B&C).

    I was previously using the selectedindexchanged event but i was having the same problem.

    These are the properties set up for the combobox:
    ID="ComboBox" runat="server" CheckBoxes="True" EnableCheckAllItemsCheckBox="True"
                                        DataTextField="DEPARTMENT" DataValueField="DEPARTMENT" Width="300px" MaxHeight="600px"
                                        AutoPostBack="True"
    Protected Sub ComboBox_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ComboBox.TextChanged
    'do something
     
    End Sub

    Any suggestions on how to address this?
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 29 Aug 2013 Link to this post

    Hello,

    I would suggest using the RadComboBox server-side event ItemChecked, which is fired when a user checks an item. Please find more information here.

    Regards,
    Boyan Dimitrov
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top