RichTextEditor for ASP 8.0 Class Library

Editor.AutoFocus Property

Specifies whether the editor grabs focus when the page loads. If this property is set to true then the editor will take focus, if it is set to false it will not.

Example

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

See Also

Editor Class | RTE Namespace