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

How to force FileExplorer Refresh current folder content

1 Answer 77 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Duy
Top achievements
Rank 1
Duy asked on 18 Dec 2008, 06:41 AM
Hi all,
Does anybody know client function of FileExplorer to refresh current folder content.
Please and thanks
Duy

1 Answer, 1 is accepted

Sort by
0
Accepted
Lini
Telerik team
answered on 19 Dec 2008, 01:29 PM
Hi Duy,

We have already extended the RadFileExplorer client API with many new functions. You will be able to reload the current folder with a client method called refresh(). You will be able to use them in the next official RadControls release (Q1 2009).

For the current version, you can try the following JS code:

var explorer = $find('FileExplorer1');
explorer.get_treeUpdatePanel().ajaxRequest('_');

This should refresh the tree and the current folder in the grid.

All the best,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Duy
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or