RadComboBox SelectedIndexChange strange behaviour

1 posts, 0 answers
  1. Aakansha
    Aakansha avatar
    22 posts
    Member since:
    Dec 2010

    Posted 29 Nov 2012 Link to this post

    Hello Team,

    I am facing a issue where the RadComboBox SelectedIndexChange event is not firing on click of submit button.

    In my previous version of code where i am using Telerik version "2011.1.519.35" 2011 Q1 , in one of my page i have a dropdown called "ddlCurrency" it is having its SelectedIndexChanged event handler. This combobox is inside "RadWindow". I also have one button called "Submit". In this version when i click on this submit button the "SelectedIndexChanged" event is getting called after page load and  before button Click event.

    Now, I have upgraded my "Telerik" version to "2012.2.912.35" i.e 2012 Q2 SP2 . Here i am getting some strange difference  , After upgrading to this version the "SelectedIndexChanged" event is not getting called on click of submit button and this time it is directly calling to "Button_Click" event after page load and the call does not went to SelectedIndexChange event before Button Click event. We have exactly the same code no changes we have done in this version. This difference is not allowing the code which is inside SelectedIndexChanged event to execute .

    Please refer to the following RadComboBox:

      <telerik:RadComboBox ID="ddlCurrencies" runat="server" Width="155" AutoPostBack="true"
                                OnSelectedIndexChanged="CurrencyChanged" CausesValidation="true" MaxHeight="300px"
                                DataTextField="Value" DataValueField="Key" AppendDataBoundItems="true"  MarkFirstMatch="true"    ExpandDirection="Down"
                                style="z-index:7015!important;">
                                <Items>
                                    <telerik:RadComboBoxItem Value="" Text="Select Currency" />
                                </Items>
                            </telerik:RadComboBox>

    Did anything got changed in the version 2012 Q2 SP2 which has changed the behavior of this radCombobox and restricting the selectedIndexChanged event to get called on  submit button click before the call reach to Button Click event. Please help me to identify the difference. I am just curious to know why the SelectedIndex event is getting called in previous version and not getting called in current version on click of button.

    Any help or suggestion on this will be highly appreciated.

    Thanks,
    Aakansha
Back to Top