Strange Problem .. Please help

2 posts, 0 answers
  1. Venkata
    Venkata avatar
    128 posts
    Member since:
    Nov 2009

    Posted 01 Oct 2010 Link to this post

    I have 3 RadComboboxes and 1 RadGird on my page.
    If i select item from RadCombobox1, RadCombobox2 will be populates then if i select item from  RadCombobox2 then RadCombobox3 will be populates.
    After i select item from RadCombobox3 then RadGrid will filled up.

    I am using RadAjaxManger to avoid the whole page refresh when i select items from RadComboBoxes.
    But the interesting thing is if i select Item from RadCombobox3, 
    First      protected void RadComboBox1_SelectedIndexChanged event firing then coming to 
                 protected void RadComboBox3_SelectedIndexChanged
    I don't know way.

    Here is my code
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox2" />                   
                <telerik:AjaxSetting AjaxControlID="RadComboBox2">
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox3" />
                <telerik:AjaxSetting AjaxControlID="RadComboBox3">
                        <telerik:AjaxUpdatedControl ControlID="rgdNoticeHistory" />
    <telerik:RadComboBox ID="RadComboBox1" runat="server"  Width="200px"
                onselectedindexchanged="RadComboBox1_SelectedIndexChanged" AutoPostBack="true">
                        <telerik:RadComboBoxItem runat="server" Text="ALL" Value="ALL" />
                        <telerik:RadComboBoxItem runat="server" Text="A" Value="A" />
                        <telerik:RadComboBoxItem runat="server" Text="B" Value="B" />
                        <telerik:RadComboBoxItem runat="server" Text="C" Value="C" />                   
        <telerik:RadComboBox ID="RadComboBox2" runat="server" Width="200px"
                onselectedindexchanged="RadComboBox2_SelectedIndexChanged" AutoPostBack="true"></telerik:RadComboBox>
         <telerik:RadComboBox ID="RadComboBox3" runat="server" Width="200px"
                onselectedindexchanged="RadComboBox3_SelectedIndexChanged" AutoPostBack="true"></telerik:RadComboBox>

    Here my code behind:

    protected void RadComboBox1_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
    protected void RadComboBox2_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
     protected void RadComboBox3_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
                    RadGrid1.DataSource = GetAllData(Convert.ToInt32(RadComboBox1.SelectedValue.ToString()), Convert.ToInt32(RadComboBox3.SelectedValue.ToString()));

    Please help me..
  2. Kalina
    Kalina avatar
    918 posts

    Posted 08 Oct 2010 Link to this post

    Hi Venkata Maddineni,

    The issue that you describe is really strange.

    I created a sample page using your code and tried to reproduce it - but unfortunately without success.
    Please take a look at this demonstration video. Maybe I miss something?

    Could you please find the sample page attached, change it in order to reproduce the issue and paste the changed code here? Thank you in advance.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top