i'm having some trouble setting the styles to content iframe of radeditor. If i set it up like this:
<telerik:RadEditor ID="RadEditor1" runat="server" ToolbarMode="Default" Width="600px" Height="600px" EditModes="Design">
<CssFiles>
<telerik:EditorCssFile Value="~/Css/EditPageContentMiska.css" />
</CssFiles>
<Content>
</Content>
</telerik:RadEditor>
everything works just fine (the defaults styles are imported from css file), while as to if i do it behind the code like:
RadEditor1.CssFiles.Add("~/Css/EditorPageContentMiska.css");
then the styles dont apply to my content area. I'm setting editor's css file on Page_Load event. Am i doing something wrong? (need this coz the style defaults will be changed based on login)
thanks in advance,
Žiga
*** edit
The behind code works just fine - i had some trouble with cached css i guess. But the problem is still described in my 2nd post (only css defaults for body element are applyed)