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

File Manager ViewPaths location

1 Answer 26 Views
Editor
This is a migrated thread and some comments may be shown as answers.
HWNeil
Top achievements
Rank 1
HWNeil asked on 06 Apr 2011, 02:39 PM
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" />

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 06 Apr 2011, 02:56 PM
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
Tags
Editor
Asked by
HWNeil
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or