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

ShowRefreshButton like RadGrid

2 Answers 71 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 20 Oct 2011, 01:48 PM
Hi,

is it possible in TreeListe to show a Refresh-Button like in RadGrid?

<CommandItemSettings ShowRefreshButton="true" ...

Best Regards

Tom

2 Answers, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 21 Oct 2011, 05:34 PM
Hi Thomas,

Thank you for contacting us.

You could use any button to do this job. You just need to declare button and handle its OnClick event. In its body you should use FireCommandEvent method of RadTreeList and execute Rebind command. Note that this method is accessible only through specific item from the treelist. So if there are no items in RadTreeList this approach won't work.

I am sending you an example project which is demonstrating the aforementioned approach. Let me know if I can assist you any further.

Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Thomas
Top achievements
Rank 1
answered on 24 Oct 2011, 02:53 PM
Thank you!
Tags
TreeList
Asked by
Thomas
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or