File Manager ViewPaths location

2 posts, 0 answers
  1. HWNeil
    HWNeil avatar
    8 posts
    Member since:
    Mar 2010

    Posted 06 Apr 2011 Link to this post

    Hi, as per http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx, I have added the line to the web.config file and the entry for Document Manager to the Default.aspx file.

    When I click the Document Manager button in the text editor, I always get nothing to choose, i.e., 'Page 1 of 0. Items 1 to 0 of 0'.

    The RadEditor Default.aspx file is at e.g. F:/x/xx/xxx/xxxx/RadEditor.Net/Default.aspx and the documents folder is e.g. F:/Assets/Documents - what should I be entering in the line below?

    Many thanks

    <DocumentManager ViewPaths="~/Assets/Documents" UploadPaths="~/Assets/Documents" DeletePaths="Assets/Documents" />
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 06 Apr 2011 Link to this post

    Hello Neil,

    By default, the editor dialogs can access folder that are subfolders of the application. In order to access external folders you need to either implement a custom content provider or add the required folder as a virtual directory to the application.

    An example of how to implement a custom content provider to the RadEditor's filemanager dialogs is available in this live demo. A custom content provider that is using physical and shared folder's paths can be found here.

    All the best,
    Dobromir
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top