RadCombobox Selectedindex change and Ajax Loading

2 posts, 0 answers
  1. Ravi
    Ravi avatar
    6 posts
    Member since:
    Mar 2011

    Posted 04 Apr 2013 Link to this post


    Hi, I am using the Radcombobox to load data from filter table. When i change the selected item , i am calling Selected Index Change and reload data in a radgrid. This works good.

    Now i am adding a new filter in the table in top of the for on a button click (same Page). The user requested to see the newly added filter without refreshing the page or any button click. I tried to do the same using Ajax and it works fine.. But my Selected Index Change Event is not firing, If i rever back the changes the selected Index change event first and the data loaded to the radgrid.

    Is there any changes any settings i need to do to work both selected index change and the Ajax data load for the Radcombobox.

    Quick reply will be really appreciated.

    Thanks

    Ravi
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 08 Apr 2013 Link to this post

    Hello Ravi,

    It is quite possible that your RadComboBox is not updating the RadGrid control anymore after you decided to use Ajax in your page. I would suggest using RadAjaxManager in order to update your content without refreshing the whole page. Here you may find more information about ajaxifying controls .
    Could you please try the following approach in order to update your RadGrid control when user interacts with the RadComboBox.
    //markup code

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1">
                        </telerik:AjaxUpdatedControl>
                    </UpdatedControls>
            </AjaxSettings>
        </telerik:RadAjaxManager>

    If you are still facing that issue, please elaborate a bit more on your scenario. Please explain how exactly you are trying to implement Ajax in your project.

    All the best,
    Boyan Dimitrov
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top