This is a migrated thread and some comments may be shown as answers.

Perform a rebind from client side code.

2 Answers 169 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Sander Notenbomer
Top achievements
Rank 1
Sander Notenbomer asked on 18 Nov 2010, 10:01 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay Rusev
Telerik team
answered on 19 Nov 2010, 10:12 AM
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.
0
Sander Notenbomer
Top achievements
Rank 1
answered on 19 Nov 2010, 10:46 AM
Thanks for the quick response.

This fixed the issue.
Tags
TreeList
Asked by
Sander Notenbomer
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Sander Notenbomer
Top achievements
Rank 1
Share this question
or