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

Selecting first item in RadComboBox doesn't trigger OnClientSelectedIndexChanging event

3 Answers 82 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ron Michael Zettlemoyer
Top achievements
Rank 1
Ron Michael Zettlemoyer asked on 01 Aug 2011, 09:39 PM
Any ideas why selecting the first item in a SqlDataSource-bound RadComboBox would not trigger the OnClientSelectedIndexChanging event, but the other items would?

<telerik:RadComboBox ID="rcbContractNumber" Height="150px" runat="server" Width="400px"  DataSourceID="sqlContracts" DataTextField="Name" DataValueField="ContractNumber" AllowCustomText="true" MarkFirstMatch="true"
              OnClientSelectedIndexChanging="LoadContractServices"  OnClientLoad="rcbContractNumber_Load"
          ></telerik:RadComboBox>

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Aug 2011, 05:54 AM
Hello Ron,

I tried the same scenario and it worked on my end.
aspx:
<telerik:RadComboBox ID="rcbContractNumber" Height="150px" runat="server" Width="400px"  DataSourceID="sqlContracts" DataTextField="Name" DataValueField="Name" AllowCustomText="true" MarkFirstMatch="true"
OnClientSelectedIndexChanging="LoadContractServices"  OnClientLoad="rcbContractNumber_Load" >
</telerik:RadComboBox>
For further information you can check the following documentation OnClientSelectedIndexChanging.

Thanks,
Shinu.
0
BOS
Top achievements
Rank 1
answered on 16 Sep 2011, 10:28 AM
I have the same problem as Ron and I've followed the examples in the documentation mentioned.
0
Dimitar Terziev
Telerik team
answered on 20 Sep 2011, 11:10 AM
Hi Bos,

Could you specify which is the exact version of the controls that you are using and share the implementation of the RadComboBox as well as any client-side scripts.

Best wishes,
Dimitar Terziev
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
ComboBox
Asked by
Ron Michael Zettlemoyer
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
BOS
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Share this question
or