RadEditor for ASP.NET

Submit Send comments on this topic.
Client-side API Reference > Methods > Submit

Glossary Item Box

 

Performs Update operation - sends all content to the server.

function Submit()

Here is an example on how to save the content of the editor from an external button:

ASPX/ASCX Copy Code
<rad:radEditor id="RadEditor1" saveinfile="true" runat= "server"></rad:radEditor>
<
input type="button" value="Save Content" onclick="SaveContent()" />
<
script type="text/javascript">
function SaveContent()
{
   
var editor = <%=RadEditor1.ClientID %>; //get a reference to the editor
   
editor.Submit(); //save the editor's content
}
</script>