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

Page CSS-file affecting my editors content

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mikael
Top achievements
Rank 1
Mikael asked on 16 Mar 2009, 06:48 PM
Hi, im experiencing that my css-file that im using on my page is also used in my editor automaticly even though im using the contentareacssfile-property to add a totaly different css-file. Its very disturbing and i cant get it to work. Ive been trying for days, please help me.

This is what my aspx-file looks like:

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Editor.aspx.cs" Inherits="TestWebApplication.Editor" %>  
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>  
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
 
<html xmlns="http://www.w3.org/1999/xhtml" >  
<head runat="server">  
    <title></title>  
    <link href="Stylesheet1.css" rel="stylesheet" type="text/css" />  
</head>  
<body>  
    <form id="form1" runat="server">  
        <div>  
 
            <asp:ScriptManager ID="ScriptManager1" runat="server">  
            </asp:ScriptManager>  
              
            <telerik:RadEditor ID="RadEditor1" Runat="server" ContentAreaCssFile="Stylesheet2.css">  
            </telerik:RadEditor>  
 
        </div>  
    </form>  
</body>  
</html> 

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 19 Mar 2009, 04:01 PM
Hello Mikael,

I believe that the following help article will be of help: Content Area Appearance Problems

In general, the idea is to use the CSSFiles property of the RadEditor. ContentAreaCssFile is used in more advanced scenarios and serves a different purpose - an example of its usage is shown here.



Greetings,
Georgi Tunev
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
Mikael
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or