Remove/Hide the "Remove Element" in the Node inspctor

4 posts, 0 answers
  1. Hariharan
    Hariharan avatar
    9 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2011 Link to this post

    Hi telerik team,

    Is any possible to Remove/Hide the "Remove Element" in the Node inspector.

    For E.g

    div>ul>li>Remove ELement

    Instead of we need only

    div>ul>li

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 Nov 2011 Link to this post

    Hello,

    You can try the following CSS.

    CSS:
    .reModule_domlink
    {
        display:none !important;
    }

    Thanks,
    Princy.
  3. Hariharan
    Hariharan avatar
    9 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2011 Link to this post

    Hi Princy,

    Thanks for your suggesstions.

    But when i apply the styles all the link under the class were display none.except the .reModule_domlink_selected.

    Is anoy other possible to change the last element styles in a div ?

    Other wise any other way to do?
  4. Rumen
    Admin
    Rumen avatar
    14462 posts

    Posted 15 Nov 2011 Link to this post

    Hello Hariharan,

    You can hide the removeElement link using the following code:

    <telerik:RadEditor ID="RadEditor1" runat="server"></telerik:RadEditor>
    <script type="text/javascript">
        Telerik.Web.UI.Editor.Modules.RadEditorDomInspector.prototype._createRemoveLink = function () {}
    </script>


    Best wishes,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top