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

How to make theme(or CSS) apply only to toolbar but not RadEditor main box?

1 Answer 41 Views
Editor
This is a migrated thread and some comments may be shown as answers.
simon
Top achievements
Rank 1
simon asked on 06 Mar 2009, 08:09 PM

I plan to make a RichEditor on ASP.NET, Design mode only.
Ideally, the main box border should always be a simple silver color 1px border, always. When user click the text area, the tool bar should show a band of icons.

I can make the main box with simple silver 1px border either in editing or non-editing by this:

 

 

 

 

 

 

 

 

EditModes="Design" 

 

 

 

EnableResize="False" EnableTheming="False" Height="600px" Skin="Vista"

 

 

 

ToolbarMode="ShowOnFocus" Width="500px" BorderColor="Silver" BorderWidth="1px" EnableAjaxSkinRendering="True" EnableEmbeddedBaseStylesheet="True" EnableEmbeddedSkins="False" ToolsWidth="500px" BorderStyle="Solid"

 

 

but this also makes the toolbar looks weired (no icons anymore,but tooltips still there).
How do I make the toolbar still show properly but only main box without skins?

 

Thanks a lot

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Mar 2009, 07:25 AM
Hi Simon,

My suggestion is to use the solution provided in this live example: Displaying RadEditor as a TextBox, because the BorderColor and BorderWidth properties are inherited from the base Web.UI.Control class and they do not do anything.

Please, also see the following sticky note Images not displayed in Firefox & IE7 when using external skins
that explains why the toolbar icons are not displayed when the EnableEmbeddedSkins property is set to "false". The problem will be fixed in Q1 2009 built that will be released most likely tomorrow. The external skins will work as expected and the icons will be displayed properly.

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
simon
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or