RichTextEditor for ASP 8.0 Class Library

Editor.SaveButtonScript Property

Defines the javascript function that will be executed when clicking the "save" button. If it returns false, the submit event will be cancelled. Editor1.SaveButtonScript="return mysubmitfunc()"

Example

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

See Also

Editor Class | RTE Namespace