Custom Fields to FileExplorer

2 posts, 0 answers
  1. Rama
    Rama avatar
    3 posts
    Member since:
    May 2014

    Posted 21 May 2014 Link to this post

    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 ?
  2. Vessy
    Vessy avatar
    2091 posts

    Posted 26 May 2014 Link to this post

    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


    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.

Back to Top