Rank: Member Groups: Member
Joined: 12/27/2010 Posts: 14
|
Hello,
I have been experimenting with the File Explorer control. I found out that you can only bind the control to a physical folder and it will do the rest.
However, In my requirements, I need to be able to feed the control with virtual folders and files which are actually stored in DB not on the file system.
So is there something like passing the File Explorer a collection of folders and files at run-time for the data binding instead of passing only the path of a physical folder ??
Thanks for your help.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You won't be able to use the FileExplorer control to do that. FileExplorer does exactly what you have noticed ---- it works with physical folders only and there are no "virtual folder" interface on FileExplorer control.
If you need to work with virtual folder, you will need work with the individual controls directly, specifically the TreeView control and Grid control. Both controls can populate from your data source. So basically you will need to write some code to handle the TreeView's item click event and then update the Grid accordingly.
There are a number of other non-essential features that are built-into the FileExplorer such as delete, upload, preview, etc. All of them can be implemented by working with the related control directly, for example, uploading uses the AJAXUploader control. So if you are looking into those features, you may want to check documentation/samples for those controls as well.
Hope this helps. Please feel free to let us know if you have any more questions.
Thanks!
|