
Am new to trlerik controls 2009 , am juz wondering how to use DocumentManager in RadEditor , How to Customize ?
Prince
13 Answers, 1 is accepted
The "Document Manager" allows you to insert hyperlinks to document files stored on the web server by simply selecting them from a list. The dialog is similar to the "Image Manager" and allows you to browse, upload, and delete documents.
Please, see the following articles about the Document Manager configuration and built-in dialogs configuration:
Documents and ExternalDialogsPath property.
Kind regards,
Rumen
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.

I got yet another question , i have configured my document server in separate Virtual Directory say 'Docs' how to configure ViewPaths to 'Docs' virtual directory ???
The "Docs" virtual directory that has a physical path pointing outside of your web application should point to the root of your web application in IIS.
Please, see the following KB article: Uploading images to the server (upload tab is disabled).
Sincerely yours,
Rumen
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.

hello,
I am using Telerik R3 2020.3.915 with .Net FrameWork 3.5,In the Document Manager Buttons are disabled,Can you please help me out.
Hi Kumar,
Please check out this article which explains how to configure the Document Manager paths - Documents.
You can find more information on File Browser Dialogs Overview and Enforce Roles.
Using this sample code you can see whether your have granted the needed ASP.NET account rights to the viewpath and uploadpath folders - https://docs.telerik.com/devtools/aspnet-ajax/controls/fileexplorer/troubleshooting/common-issues#an-error-like--because-the-application-did-not-have-enough-permissions-occurs-only-in-a-production-environment-how-to-debug-the-issue.
Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

<DocumentManager
ViewPaths="~/files/Uploads/Documents"
UploadPaths="~/files/Uploads/Documents"
DeletePaths="~/files/Uploads/Documents"
MaxUploadFileSize="51200000"
SearchPatterns="*.doc,*.docx,*.xls,*.xlsx,*.ppt,*.pptx,*.pdf,*.zip,*.ics,*.vcf" />
In C# ,
radEditor.DocumentManager.ViewPaths = EditorConfigValues.DocumentManager.ViewPaths;
radEditor.DocumentManager.UploadPaths = EditorConfigValues.DocumentManager.UploadPaths;
radEditor.DocumentManager.DeletePaths = EditorConfigValues.DocumentManager.DeletePaths;
radEditor.DocumentManager.SearchPatterns = EditorConfigValues.DocumentManager.SearchPatterns;
radEditor.DocumentManager.MaxUploadFileSize = EditorConfigValues.DocumentManager.MaxUploadFileSize;
But still getting same.
Hi Kumar,
I see that you are setting the paths twice - once inline and another time in the codebehind.
Please perform the following tests to troubleshoot the problem:
- comment out the codebehind and test only with the inline declaration:
<DocumentManager ViewPaths="~/files/Uploads/Documents" UploadPaths="~/files/Uploads/Documents" DeletePaths="~/files/Uploads/Documents" MaxUploadFileSize="51200000" SearchPatterns="*.doc,*.docx,*.xls,*.xlsx,*.ppt,*.pptx,*.pdf,*.zip,*.ics,*.vcf" />
- If the above does not work, remove the DocumentManager inline tag and test with the codebehind settings only:
radEditor.DocumentManager.ViewPaths = EditorConfigValues.DocumentManager.ViewPaths; radEditor.DocumentManager.UploadPaths = EditorConfigValues.DocumentManager.UploadPaths; radEditor.DocumentManager.DeletePaths = EditorConfigValues.DocumentManager.DeletePaths; radEditor.DocumentManager.SearchPatterns = EditorConfigValues.DocumentManager.SearchPatterns; radEditor.DocumentManager.MaxUploadFileSize = EditorConfigValues.DocumentManager.MaxUploadFileSize;
- If the dialog still does not load any folders, assign full control (rights) over the files/Uploads/Documents folders since this ensure that it is not a permissions problem.
- If the above still does not make any progress, test by setting the paths to "~/", e.g.
<DocumentManager ViewPaths="~/" UploadPaths="~/" DeletePaths="~/" MaxUploadFileSize="51200000" SearchPatterns="*.doc,*.docx,*.xls,*.xlsx,*.ppt,*.pptx,*.pdf,*.zip,*.ics,*.vcf" />
where ~/ means the root of the web application.
Last but not least test the code from the following article to check the permissions - An error like "... because the application did not have enough permissions..." occurs only in a production environment. How to debug the issue? and let me know for the result by providing a screenshot of what is happening when you run it.
Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Performed the following tests but still its Disabled.
Hi,
The following test does not use any Telerik controls but just checks the permissions:
Last but not least test the code from the following article to check the permissions - An error like "... because the application did not have enough permissions..." occurs only in a production environment. How to debug the issue? and let me know for the result by providing a screenshot of what is happening when you run it.
Can you send a screenshot of the result when testing the folder permissions?
Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Added in the Web.Config File ,
<httphandlers>
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" />
<handlers>
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
<location path="Telerik.Web.UI.DialogHandler.aspx">
<system.web>
<authorization>
<allow roles="TestUser"/>
</authorization>
</system.web>
</location>
<location path="Telerik.Web.UI.SpellCheckHandler.axd">
<system.web>
<authorization>
<allow roles="TestUser"/>
</authorization>
</system.web>
</location>
But still all the buttons are disabled in Document Manager.
Hi Kumar,
Thank you for sharing the dialog handler declaration, but if the handler is not set or is overridden by URL rewritter you will get an error.
If it is not a secret what is the result of the test for permissions for the folders:
Last but not least test the code from the following article to check the permissions - An error like "... because the application did not have enough permissions..." occurs only in a production environment. How to debug the issue? and let me know for the result by providing a screenshot of what is happening when you run it.
For your convenience, I have also created and attached a sample runnable web application with enabled Documents manager with the code provided by you plus a short video demonstration. Please test it and use it as a base to troubleshoot your app.
Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

You are welcome, Kumar!
What was the reason for the problem?
Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.