I need to use file explorer just to display all the folders and subfolders(view all the pdf's in the folders or files). How can i do that . Can you please guide me. I went through the demos but those are not working for me.
Thanks,
Deepika
3 Answers, 1 is accepted
0
Dobromir
Telerik team
answered on 14 Feb 2011, 02:54 PM
Hi Deepika,
I am not quite sure I understand the question.
If you want to display only folders and PDF files in the RadFileExplorer, you can use SearchPatterns property to filter the files, e.g.:
If this is not the case, could you please describe in more details what exactly you are trying to achieve? A screenshot demonstrating the required result will be of great help solving this case.
Thanks for your reply. My target is to display all the files and folders from a given specific path. Just to view not any edits. I tried one of your demo's but didn't work. Please give me a detailed description like how to implement that.
Thanks,
Deepika
0
Dobromir
Telerik team
answered on 23 Feb 2011, 09:19 AM
Hi Deepika,
To configure RadFileExplorer to display the files in a folder you need to set its ViewPaths property. By setting DeletePaths and UploadPaths properties you can allow the upload / delete / rename / create new folder functionalities, if you do not to allow these you should not set these properties.
In order to disable the opening of the files (by double click on the item) you need to assign handler to the RadFileExplorer's OnClientFileOpen and cancel the execution of the command, e.g.:
args.set_cancel(true); //cancel further execution of the command
}
</script>
All the best,
Dobromir
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!