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

[Solved] How do I hide the mode tabs?

2 Answers 172 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mark Davis
Top achievements
Rank 1
Mark Davis asked on 06 Dec 2007, 09:33 PM
I set the RadEditor control to use only one edit mode (design) and would like to hide the mode tab (pencil icon) below the content area, and remove the unused space to the right of it.

How do I turn off rendering of the edit mode tabs?

2 Answers, 1 is accepted

Sort by
0
Mark Davis
Top achievements
Rank 1
answered on 07 Dec 2007, 02:53 AM
For now, I'm using the following OnClientLoad event handler to work around this:

function OnClientLoad(sender,args)
{
  var editor = sender;
  var bottomID = editor.get_element().id + 'Bottom';
  $get(bottomID).style.display = 'none';
}
0
Tervel
Telerik team
answered on 10 Dec 2007, 02:56 PM
Hi Mark,

Based on your suggestion we changed the editor rendering, and now when only a single EditMode is set, the row below the editor content area will be hidden.

The updated editor will appear in the Q3 Prometheus release scheduled for next week.

Best wishes,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Mark Davis
Top achievements
Rank 1
Answers by
Mark Davis
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or