RadComboBox strange behaviour

2 posts, 0 answers
  1. Shailendrasinh
    Shailendrasinh avatar
    4 posts
    Member since:
    Jan 2013

    Posted 10 Jan 2013 Link to this post

    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.
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 15 Jan 2013 Link to this post

    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.
Back to Top