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

RadEditor - disable content area editing

1 Answer 244 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sid
Top achievements
Rank 1
Sid asked on 15 Aug 2013, 01:15 AM
Hi all,

I have implemented a simple RadEditor on the page, where I want to display the contents within the RadEditor and a Print button on the top, to print the contents. I want to disable the content area specifically, so that users cannot make any changes to the populated text, but can still print. 
Here is the code:

<telerik:RadEditor ID="red1" runat="server" EnableResize="false" Width="100%" EditModes="Design" AutoResizeHeight="true" EmptyMessage="No notes">
<Tools>
    <telerik:EditorToolGroup>
        <telerik:EditorTool Name="Print" />
    </telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>

If I change the EditModes to Preview, then the Print toolbar button gets disabled as well, which I dont want. 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Aug 2013, 09:40 AM
Hello,

You can load the editor in Preview mode (EditModes="Preview") and enable the Print button using the solution in this article: Enable Print button in Preview Mode.

Regards,
Rumen
Telerik
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 the blog feed now.
Tags
Editor
Asked by
Sid
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or