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

ComboBox property Change_Commited?

4 Answers 76 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Web
Top achievements
Rank 1
Web asked on 08 Dec 2006, 08:31 PM
 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

4 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 11 Dec 2006, 06:39 PM
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:
  1. SelectedIndexChanged - occurs when the SelectedIndex property has changed.
  2. TextChanged - occurs when the Text property has changed.
  3. 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,

Georgi

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
Georgi
Telerik team
answered on 03 Aug 2007, 12:21 PM
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
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Web
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Web
Top achievements
Rank 1
Share this question
or