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

How can i hide the RadEditor Toolbar?

1 Answer 856 Views
Editor
This is a migrated thread and some comments may be shown as answers.
dharyl
Top achievements
Rank 1
dharyl asked on 04 Feb 2009, 01:15 AM

Hi,


Hi i need to hide the toolbar in the upper portion of the RadEditor. How do i do this?  in my case i already removed B, I, U buttons. But there is something left. It looked like a separator or toolbar background something. I used these options below.
Option 1: Remove <Tool> tags from this code below.But the background for the toolbar remained there although the width become thin.

<telerik:RadEditor ID="rEditMailBody" runat="server" EditModes="Design" Height="370px" Width="921px" Skin="Vista">

   <Tools>

      <telerik:EditorToolGroup>

            //The Bold, Italic and Underline button are removed from here.
      </telerik:EditorToolGroup>

   </Tools>

</telerik:RadEditor>

Option 2: Used OnClickAction to hide the buttons. But the background for the toolbar remained. Same width as it is when the three buttons are visible.
Option 3: I tried disabling the tools in ToolsFile.xml and ListToolsFile.xml by setting enabled and visible to "false" but this approach did not work for me even if i perform iisreset.


Can you guys help me out on this?



Thanks,

dha

 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Feb 2009, 09:35 AM
Hi dharyl,

I found one article explaning how to hide the RadEditor toolbar ,

http://www.telerik.com/help/aspnet-ajax/removingtoolbarbuttons.html

Please have a look at it and let me know whether it helps.

-Princy.
Tags
Editor
Asked by
dharyl
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or