Nathiya Nathiya - 1 month ago 19
ASP.NET (C#) Question

Refreshing radgrid automatically when grid datasource gets updated in the background telerik asp.net

I am have a radgrid to display the users from the table where it gets updated in the background. i want to refresh the grid whenever the record updated in the data source of the radgrid.

Answer

You can use Telerik RadAjaxManager, it will do the refresh automatically..

Edit:

Here's the code :

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