Vessy

I am afraid tat the the desired scenario cannot be achieved with the current implementation of RadFileExplorer. The folders in FileExplorer are loaded on demand and its client object does not know about the content of any folder which has been never opened. The only possible solution i can suggest you is to implement your own server side logic collecting the child files of the desired folders through the System.IO.Directory class API (e.g. its GetFile() method).

Regards,
Vessy
Telerik by Progress

Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.

Paul

I was thinking of programmatically opening each folder reading the path and checking if there are any other folders then storing the paths into an array. then looping through until it gets all the sub-folders of the selected folder.

I am just having one issue in selecting the sub folder without the function finishing.

Vessy

loop all folders in the current directory recursively and collect there names

loop through the collected paths and open them one by one

handle the client-side File open event and loop the content of the currently loaded folder there in order to collect its subfolders

Please note, though, that radfileExplroer updates itself via many Ajax requests and I cannot guerantee that such an approach will not break some of the controls functionality. This is why I still advise that you consider collecting the sub folders paths on the server-side like suggested in my previous reply.

Regards,
Vessy
Telerik by Progress

Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.