Welcome Guest Search | Active Topics | Sign In | Register

File Explorer - Binding To Folders in DB Options
matrixy
Posted: Tuesday, December 28, 2010 3:51:12 PM
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.
eo_support
Posted: Tuesday, December 28, 2010 4:04:06 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.