How to change Directory Names at Runtime?

2 posts, 0 answers
  1. Marc
    Marc avatar
    12 posts
    Member since:
    May 2008

    Posted 08 Jan 2010 Link to this post

    Hi I am using a custom Content Provider using a SQL database and have had great success but..

    Is there a way to intercept and change the Directory Names before end user presentation?
    A typical path in my system looks like: Root\Objects\ObjectType (14)\Object (14.52)\

    I want to show Root\Objects\Practitioners\John Doe\

    I have no problem doing the translation but I need to do it at Runtime and not store it that way otherwise if John Doe changed his name my directory association would be lost.

    Thanks,
    Marc
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 13 Jan 2010 Link to this post

    Hello Marc,

    Your requirement is a custom solution that depends on the logic of the application and it is not related to  RadFileExplorer. Please note that (if you decide to implement it) you will need to make modifications in the logic of DBContentProvider in order to achieve the desired result.

    In your case I suggest you check the implemented provider in this KB article where the real paths (like C:\Folder1\Flder2) are hidden and replaced by custom defined paths. You can use a similar approach in your case.

    I hope this helps.


    Best wishes,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top