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

Customizing CSS Class Dropdown

1 Answer 127 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Amey
Top achievements
Rank 1
Amey asked on 30 Nov 2010, 09:59 PM
Hi,

I am trying to customize the CSS classes availalble on both the Image Properties Dialog and the Hyperlink Manager.
I've tried following the instructions here:
http://www.telerik.com/help/aspnet-ajax/cssstyles.html

By adding:
<CssClasses>
       
<telerik:EditorCssClass Name="Clear Class" Value="" />
       
<telerik:EditorCssClass Name="link" Value="a.link" />
       
<telerik:EditorCssClass Name="img" Value=".img" />
       
<telerik:EditorCssClass Name="redtext" Value=".redtext" />
   
</CssClasses>

But the CSS Class drop down is blank in both the image properties dialog and the Hyperlink manager.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 03 Dec 2010, 11:19 AM
Hi Christian ,

RadEditor's CssClasses inner tag is used to filter the classes displayed in the ApplyClass dropdown. By design, this dropdown is populated by all the CSS classes declared on the page or as registered by ExternalCssFiles, thus the css classes added to the CssClasses collection need to be present either on the page or in a css file registered to the RadEditor.

All the best,
Dobromir
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Amey
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or