Selecting first item in RadComboBox doesn't trigger OnClientSelectedIndexChanging event

4 posts, 0 answers
  1. Ron Michael Zettlemoyer
    Ron Michael Zettlemoyer avatar
    25 posts
    Member since:
    May 2010

    Posted 01 Aug 2011 Link to this post

    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>

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Aug 2011 Link to this post

    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.
  3. BOS
    BOS avatar
    17 posts
    Member since:
    Jan 2009

    Posted 16 Sep 2011 Link to this post

    I have the same problem as Ron and I've followed the examples in the documentation mentioned.
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 20 Sep 2011 Link to this post

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