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

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

1 Answer 144 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
MRa
Top achievements
Rank 1
MRa asked on 26 Aug 2013, 10:08 PM
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?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 29 Aug 2013, 01:55 PM
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.
Tags
ComboBox
Asked by
MRa
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or