RichTextEditor for ASP 8.0 Class Library

Editor.LoadFile Method

Loads the contents of a HTML file into the RichTextEditor control.

Example

<%   
    Dim rte 
    Set rte=new RichTextEditor
    rte.LoadFile("somefile.txt")
    rte.ID="Editor1"    
    rte.MvcInit()
    Response.Write(rte.GetString())  
    // use Request.Form("Editor1")to retrieve the data  
%>

See Also

Editor Class | RTE Namespace