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

DropDownList Ajax DataBinding disallowed selecting first item

1 Answer 108 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kelly
Top achievements
Rank 1
Kelly asked on 24 Aug 2010, 07:18 PM
Hello,

When using the DataBinding(Ajax.Select) method, once loaded it displays the first item in the list and highlights it in the dropdown portion. I can't select the first item to have the OnChange event executed. Is this the expected behavior?

Thank you,
Kelly

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 Aug 2010, 09:54 AM
Hi Kelly,

This is expected, because the ComboBox UI component has SelectedIndex set. In other words if the item is already selected, change event will not be raised.

With the upcoming release of Telerik Components for ASP.NET MVC, scheduled for the end of August, the combobox and dropdownlist will raise change event on initial Ajax data binding.

I believe this change in the behavior will cover your needs.

Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Kelly
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or