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

RadComboBox strange behaviour

1 Answer 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shailendrasinh
Top achievements
Rank 1
Shailendrasinh asked on 10 Jan 2013, 07:58 PM
Hi,

I am using RadComboBox in my application. I am adding the values to it dynamically from code-behind. The SelectedIndexChanged event is working fine if I select any value except the first value (SelectedIndex=0), That item contains values in both its properties Text and Value, none of them are blank. The AutoPostBack is also true. But when I select the first value in combobox, the SelectedIndexChanged event is not fired, I am wondering why is it so? For all other values it fires. I have also set CausesValidation=false.

Please guide.

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 15 Jan 2013, 01:34 PM
Hi Shailendrasinh,

We are aware of this issue and it has been resolved in our latest internal build. Later today it will be available for download. Other temporary solution could be to set the EmptyMessage of the RadComboBox in the following manner:

<telerik:RadComboBox ID="RadComboBox1" EmptyMessage="Select Item"
                runat="server"
                OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"
                AutoPostBack="true"
                CausesValidation="false">
            </telerik:RadComboBox>


Hope this helps Hristo Valyavicharski
the Telerik team
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 their blog feed now.
Tags
General Discussions
Asked by
Shailendrasinh
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or