Missing Document button in Link Manager

3 posts, 1 answers
  1. Benjamin
    Benjamin avatar
    61 posts
    Member since:
    Jul 2016

    Posted 30 Jun 2016 Link to this post

    I am missing the document manager button from my radeditor, hyperlink manager menu.

    how do i enable it?

    i have attached how my link manager look like and assembly information for Telerik.Web.UI.dll


            <module name="RadEditorDomInspector" />
            <tool name="Cut" shortcut="CTRL+X" />
            <tool name="Copy" shortcut="CTRL+C" />
            <tool name="Paste" shortcut="CTRL+V" />
            <tool name="Undo" shortcut="CTRL+Z" />
            <tool name="Redo" shortcut="CTRL+Y" />
            <tool separator="true" />
            <tool name="FontName" />
            <tool name="FontSize" />
            <tool name="Bold" shortcut="CTRL+B" />
            <tool name="Italic" shortcut="CTRL+I" />
            <tool name="Underline" shortcut="CTRL+U" />
            <tool name="StrikeThrough" />
            <tool name="Subscript" />
            <tool name="Superscript" />
            <tool name="BackColor" />
            <tool name="ForeColor" />
            <tool name="FormatStripper" />
            <tool name="InsertUnorderedList" />
            <tool name="InsertOrderedList" />
            <tool name="Outdent" />
            <tool name="Indent" />
            <tool name="JustifyLeft" />
            <tool name="JustifyCenter" />
            <tool name="JustifyRight" />
            <tool name="JustifyFull" />
            <tool separator="true" />
            <tool name="ApplyClass" />
            <tool separator="true" />
            <tool name="AjaxSpellCheck" />
            <tool separator="true" />
            <tool name="FormatBlock" />
            <tool name="InsertHorizontalRule" />
            <tool name="InsertTable" />
            <tool name="ToggleTableBorder" />
            <tool separator="true" />
            <tool name="InsertImage" />
            <tool name="InsertLink" />
        <tool name="Unlink" />
            <tool separator="true" />
            <tool name="Help" />
            <contextMenu forElement="*">
                <tool name="Cut"/>
                <tool name="Copy"/>
                <tool name="Paste"/>
            <class name="Clear Class" value="" />
            <class name="Normal" value=".ms-rteStyle-Normal" />
            <class name="Highlight" value=".ms-rteStyle-Highlight" />
            <class name="By Line" value=".ms-rteStyle-Byline" />
            <class name="Tag Line" value=".rteStyle-Tagline" />
            <class name="Comment" value=".ms-rteStyle-Comment" />
            <class name="References" value=".ms-rteStyle-References" />
            <class name="Caption" value=".ms-rteStyle-Caption" />

    aspx file

    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <telerik:RadEditor ID="radEmail" runat="server" ToolsFile="/editor/ToolsFile.xml">

  2. Benjamin
    Benjamin avatar
    61 posts
    Member since:
    Jul 2016

    Posted 30 Jun 2016 in reply to Benjamin Link to this post

    Hi. i am able to get the document manager to come out. but seems that the upload button is being disable and i am unable to view documents in the folder specified


    <telerik:RadEditor ID="radEmail" runat="server" ToolsFile="/Users/benjamin/Desktop/editor/ToolsFile.xml">
                   <DocumentManager ViewPaths="/Users/benjamin/Desktop/Documents" UploadPaths="/Users/benjamin/Desktop/Documents" DeletePaths="/Users/benjamin/Desktop/Documents"/>

    i realise that i need to click on "All Property" button to show the document manager button. is there anyway to by default show it?


  3. Answer
    Vessy avatar
    1637 posts

    Posted 01 Jul 2016 Link to this post

    Hi Benjamin,

    By default all file managers of the Editor can work only with virtual paths to folders placed inside the application's root directory. You can examine the configuration of this online demo: http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx

    In case the User directory is placed directly inside the application's root directory, changing your Document declaration in the following way should resolve the issue:
    <telerik:RadEditor ID="radEmail" runat="server" ToolsFile="~/Users/benjamin/Desktop/editor/ToolsFile.xml">
        <DocumentManager ViewPaths="~/Users/benjamin/Desktop/Documents" UploadPaths="~/Users/benjamin/Desktop/Documents" DeletePaths="~/Users/benjamin/Desktop/Documents"/>

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top