This is a migrated thread and some comments may be shown as answers.

Remove Cell Properties

2 Answers 37 Views
Editor
This is a migrated thread and some comments may be shown as answers.
jc mag
Top achievements
Rank 1
jc mag asked on 04 Nov 2011, 04:44 PM
See picture attached, I'd like to remove the "Cell Properties" button, is it possible?

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 04 Nov 2011, 05:07 PM
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
0
jc mag
Top achievements
Rank 1
answered on 04 Nov 2011, 05:25 PM
Thanks for your quick answer!
Tags
Editor
Asked by
jc mag
Top achievements
Rank 1
Answers by
Rumen
Telerik team
jc mag
Top achievements
Rank 1
Share this question
or