RichTextEditor for ASP 8.0 Class Library

Editor.EnterKeyTag Property

Specifies the behavior when the "enter" key is pressed in the editor (p, div, br).

Example

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

See Also

Editor Class | RTE Namespace