Home / Community & Support / Knowledge Base / RadControls for ASP.NET and ASP.NET AJAX / Editor / Hiding the Document manager button in the Link manager

Hiding the Document manager button in the Link manager

Article Info

Rating: Not rated

Article information

Article relates to

RadEditor for ASP.NET AJAX,
Telerik.Web.UI 

Created by

 Rumen Zhekov


HOW-TO
Hide the Document manager button in the Link manager

SOLUTION
In order to hide the Document manager button in the LinkManager, register the external dialogs files of RadEditor as it is demonstrated in this live example: Customize Built-in Dialogs, e.g. 

 

  1. Copy the EditorDialogs folder from the installation to the root of your web application and set the ExternalDialogsPath property to point to it:
    <telerik:RadEditor ID="RadEditor1" runat="server" ExternalDialogsPath="~/EditorDialogs"></telerik:RadEditor>
  2. Open the \EditorDialogs\LinkManager.ascx file and hide the <td> element wrapping the DocumentManager tool by setting style="display:none", e.g.
    <td style="display:none;padding-left: 4px;">
        <tools:StandardButton runat="server" id="DocumentManager" Name="DocumentManager">
        </tools:StandardButton>
    </td>
  3. Save the files.

Comments

There are no comments yet.
If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.