RichTextEditor for ASP 8.0 Class Library

Editor.PreviewCss Property

Specifies the location of the style sheet that will be used by the preview window. Multiple Style Sheets are supported. Example PreviewCss="example.css,~/portal.css,/default.css"

Example

<%   
    Dim rte 
    Set rte=new RichTextEditor   
    rte.Text="Type here"
    rte.PreviewCss="../resources/dynamicstyle.css"   
    rte.ID="Editor1"
    rte.MvcInit()
    Response.Write(rte.GetString())  
    // use Request.Form("Editor1")to retrieve the data  
%>

See Also

Editor Class | RTE Namespace