Remove Cell Properties

3 posts, 1 answers
  1. jc mag
    jc mag avatar
    106 posts
    Member since:
    Aug 2005

    Posted 04 Nov 2011 Link to this post

    See picture attached, I'd like to remove the "Cell Properties" button, is it possible?
  2. Answer
    Rumen
    Admin
    Rumen avatar
    14431 posts

    Posted 04 Nov 2011 Link to this post

    Hello Jc Mag,

    You can use the following code to achieve your scenario:

    <telerik:RadEditor ID="RadEditor1" ToolbarMode="RibbonBar" runat="server">
        <ImageManager ViewPaths="~/images" UploadPaths="~/Images" />
    </telerik:RadEditor>
    <script type="text/javascript">
        Telerik.Web.UI.Editor.Modules.RadEditorNodeInspector.prototype._nodeAttributesArray =
        //Contains definitions for each node panel
        {
        DIV: ["width", "borderColor", "bgColor", "className", "height", "border"],
        TABLE: ["width", "borderColor", "cellSpacing", "bgColor", "className", "SetTableProperties", "height", "cellPadding", "align", "border"],
        TH: ["width", "borderColor", "bgColor", "className", "height", "align", "noWrap", "border"],
        TD: ["width", "borderColor", "bgColor", "className", "height", "align", "noWrap", "border"],
        TR: ["width", "className", "height"],
        A: ["href", "className", "LinkManager", "title", "target"],
        IMG: ["width", "borderColor", "className", "SetImageProperties", "height", "align", "border", "alt"],
        INPUT: ["NAME", "width", "height", "id", "title", "className", "value"],
        FORM: ["className", "width", "height", "NAME", "action", "id"],
        TEXTAREA: ["className", "width", "height", "NAME", "id", "rows", "cols"]
    }
    </script>


    Regards,
    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
  3. jc mag
    jc mag avatar
    106 posts
    Member since:
    Aug 2005

    Posted 04 Nov 2011 Link to this post

    Thanks for your quick answer!
Back to Top