RAd Combobox refreshing the page

2 posts, 0 answers
  1. Sundar Kannan
    Sundar  Kannan avatar
    2 posts
    Member since:
    Feb 2010

    Posted 06 Oct 2010 Link to this post


    I have 20-25 comboboxes to be used in my page...

    I perform "selectedindexchanged event" to fill a textbox with selected value...

    the whole page refreshes..& focus is moved to the first half of the page ,where my combo is sitting in the next half & I havw to scroll down to see where it is..

    How can I resolve this...

    my aspx
     a.<telerik:RadComboBox ID="rcb_M1020_1" runat="server"
                                     DataTextField="Descriptionwithcode" DataValueField="CODE"
                                    EnableLoadOnDemand="True" Width="150px" Height="150px"
                                    LoadingMessage="loading..you can enter the text in the box"
                                    EmptyMessage="Type your Diagnosis here.."
                                    AutoPostBack="true" CausesValidation="false"
                                    ShowMoreResultsBox="true"  Skin="Web20"
                                     onitemsrequested="rcb_M1020_1_ItemsRequested" onselectedindexchanged="rcb_M1020_1_SelectedIndexChanged">

    protected void rcb_M1020_1_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
                IOASISFormController controllerobj = new OASISFormController();

                if (rcb_M1020_1 != null)
                    if (!string.IsNullOrEmpty(e.Text))
                        rcb_M1020_1.DataSource = controllerobj.ListDiagnosticsData(e.Text.Trim());

            protected void rcb_M1020_1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
                txt_M1020_2.Text = rcb_M1020_1.SelectedValue;

    Please suggest a solution
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Oct 2010 Link to this post

    Hello Sundar,

    You could ajaxify the control in order to avoid page refresh on each postback.
    AJAX Manager
    AJAX Panel

Back to Top