This question is locked. New answers and comments are not allowed.
the asp combobox form controls have a proberty called change_submitted which occures after a comboboxitem is chosen from the dropdownlist and the dropdownlist is closed. now i am locking for the same proberty in the telerik one. which one do i have to choose to get the same action?
thank you
thank you
4 Answers, 1 is accepted
0
Hi kerstin,
Perhaps you're asking about the events fired when a combobox item is clicked in the dropdown window.
These events are fired in the following sequence:
Perhaps you're asking about the events fired when a combobox item is clicked in the dropdown window.
These events are fired in the following sequence:
- SelectedIndexChanged - occurs when the SelectedIndex property has changed.
- TextChanged - occurs when the Text property has changed.
- DropDownClosed - occurs when the drop-down window has closed.
Maybe you should use DropDownClosed and put your code in it.
Let us know whether this helps.
Regards,
the telerik team
0
Web
Top achievements
Rank 1
answered on 02 Aug 2007, 05:10 PM
Exactly the event should occure right away when i selected a new item from the dropdownlist (at least thats how it is working on all other comboboxes i was using so far) but yours changes only at the second time
0
Web
Top achievements
Rank 1
answered on 02 Aug 2007, 06:29 PM
well figured it out : radComboBox1.Items[radComboBox1.SelectedIndex].Text; did the trick
0
Hi kerstin,
The already mentioned events (SelectedIndexChanged, TextChanged and DropDownClosed) fire always when a user selects an item from the drop-down list. By the way,
radComboBox1.Items[radComboBox1.SelectedIndex].Text
could be replaced with the same result with
((RadComboBoxItem)radComboBox1.SelectedItem).Text .
If you give us some more information about your scenario we could help you to find the best solution of your case.
Best wishes,
Georgi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The already mentioned events (SelectedIndexChanged, TextChanged and DropDownClosed) fire always when a user selects an item from the drop-down list. By the way,
radComboBox1.Items[radComboBox1.SelectedIndex].Text
could be replaced with the same result with
((RadComboBoxItem)radComboBox1.SelectedItem).Text .
If you give us some more information about your scenario we could help you to find the best solution of your case.
Best wishes,
Georgi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center