Perform a rebind from client side code.

3 posts, 1 answers
  1. Sander Notenbomer
    Sander Notenbomer avatar
    5 posts
    Member since:
    May 2009

    Posted 18 Nov 2010 Link to this post

    I started using the radtreelist and i'm very happy with it.

    But i have a  page which needs to be refreshed every 10 seconds. I do this with a javascript timeout that is done when the radtreelist is created.

    In a radgrid you have the function rebind() of the mastertableview. Is there something like that in the radtreelist? 

    Currently i'm doing this but that doesn't work as i expected:
    var treelist = $find("<%= rtlClusterStatus.ClientID %>");
    treelist.fireCommand("Rebind","");

    Am I doing something wrong or is this function currently not implemented?
  2. Answer
    Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 19 Nov 2010 Link to this post

    Hello Sander,

    You should use "RebindTreeList" for command name instead of simply "Rebind". We will expose client API for rebinding RadTreeList in future releases.

    Regards,
    Nikolay
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sander Notenbomer
    Sander Notenbomer avatar
    5 posts
    Member since:
    May 2009

    Posted 19 Nov 2010 Link to this post

    Thanks for the quick response.

    This fixed the issue.
Back to Top