Auto refresh grid without rebinding

2 posts, 0 answers
  1. Chris
    Chris avatar
    13 posts
    Member since:
    Dec 2011

    Posted 09 Aug 2017 Link to this post

    Hello,

    I need a grid which auto refreshes after a given period using a timer.  There is an example here: http://demos.telerik.com/aspnet-ajax/ajaxmanager/application-scenarios/ajaxify-timer/defaultcs.aspx

    However, I don't want the whole grid to be rebound after each refresh and instead would like it to be seamless without the animation.  When creating a standard radgrid bound to a datasource there is a refresh button top right, and when pressing this button it does exactly what I'm after - it doesn't rebind the grid and instead if there's new data it pops the new data in instead of creating an obvious refresh animation.  Using a normal radgrid is there some way to simulate pressing this 'Refresh' button using a timer element and thereby avoiding the rebinding?

    Thanks

  2. Eyup
    Admin
    Eyup avatar
    3824 posts

    Posted 14 Aug 2017 Link to this post

    Hello Chris,

    The Refresh button actually does rebind the grid:
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/automatic-crud-operations/defaultcs.aspx

    If you want to remove the animation, however, you can remove the RadAjaxLoadingPanel from the RadAjaxManager settings.

    Regards,
    Eyup
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top