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

Editor as Textbox...no tools

2 Answers 86 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Nate
Top achievements
Rank 1
Nate asked on 14 Apr 2010, 06:24 PM
So what I want to achieve is to display the rad editor as a textbox...no tools, nothing.
I've tried this multiple times, and can't seem to do this right.
I want to display it as this so I can pull the text without html .

Nate

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 15 Apr 2010, 11:41 AM
Hi Nate,

You can see how to display RadEditor as a TextBox in this live demo: Displaying RadEditor as a TextBox.

You can hide the ShowOnFocus toolbar using this code:

<script type="text/javascript">
    function OnClientLoad(editor) {
        var wnd = editor.get_toolAdapter().get_window();
        wnd.add_show(function() {
            wnd.close();
 
        });
    
</script> 
<telerik:RadEditor  ID="RadEditor1" OnClientLoad="OnClientLoad" ToolbarMode="showonfocus" runat="server"
    <Modules> 
        <telerik:EditorModule Visible="false" /> 
    </Modules> 
</telerik:RadEditor>


Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Nate
Top achievements
Rank 1
answered on 15 Apr 2010, 03:07 PM
Awesome, that's what I needed, thanks!
Tags
Editor
Asked by
Nate
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Nate
Top achievements
Rank 1
Share this question
or