Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Grid > Refresh telerik Grid after some timeout

Not answered Refresh telerik Grid after some timeout

Feed from this thread
  • usman avatar

    Posted on Feb 9, 2012 (permalink)

    I have a grid view in Telerik ajax panel 
    I want help to get refresh after certain time , also I want when user insert enter a value from text box with in the same page of grid view , the grid view get refresh immediately rather then after time out

    Reply

  • Posted on Feb 9, 2012 (permalink)

    Hello Usman,

    Take a look at the following demo.
    Ajax / Ajaxify Timer

    -Shinu.

    Reply

  • Tsvetoslav Tsvetoslav admin's avatar

    Posted on Feb 10, 2012 (permalink)

    Hello,

    Concerning your second requirement - let's suppose that the ID of your TextBox is TextBox1, the ID of your RadGrid is RadGrid1 and the ID of your RadAjaxManager is RadAjaxManager1. What you need to do is to set the AutoPostback property of the box to true, attach an event handler to the TextChanged event on the server and in the event handler call the grid's Rebind() method. Finally, you need to add the following ajax setting to the ajax manager control:
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="TextBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    Hope it helps. 

    Greetings,
    Tsvetoslav
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Grid > Refresh telerik Grid after some timeout
Related resources for "Refresh telerik Grid after some timeout"

ASP.NET Grid Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]