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

Custom Fields to FileExplorer

1 Answer 34 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Rama
Top achievements
Rank 1
Rama asked on 21 May 2014, 08:10 PM
Can i add 2 custom fields which will pull record from database and other 2 fields are from fileSystem.
Fields are : {FileName} {Size} {UserName} {Action}
In this, first 2 fields are from file system we are currently populating. requirement is to have history of file operations(insert, delete etc..) so we thought to maintain those records in db. Is that possible to pull data from different locations and populate in FileExplorer ?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 26 May 2014, 02:44 PM
Hello Rama,

The FileBrowserContentProvider abstract class allows for different file sources to be used in the RadFileExplorer control, such as file system, database system, CMS-specific resource system or even online storage systems such as Amazon S3. You can find various custom content providers in the KnowledgeBase and CodeLibrary sections of our site.

I believe the content provider from the following code library will be suitable for this specific scenario:
Connect RadFileExplorer or RadEditor to a SQL databse

There is also a live demo with the above content provider implemented, where you can test its behavior:
Custom File Content Provider

In addition, you can find more detailed information on how the content provider works in the following help article:
Using custom FileBrowserContentProvider


Regards,
Vessy
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
FileExplorer
Asked by
Rama
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or