RadEditor for ASP.NET

Getting a Reference to RadEditor Send comments on this topic.
See Also
Client-side API Reference > Getting a Reference to RadEditor

Glossary Item Box

 

Telerik RadEditor provides a client-side object of type RadEditor.
You can get a reference to the editor using GetRadEditor ("<%RadEditor1.ClientID%>").  The following code demonstrates this: 

ASPX/ASCX Copy Code
<rad:RadEditor id="RadEditor1" Runat="server"></rad:RadEditor>

<
script type="text/javascript">
   
var editor = GetRadEditor ("<%=RadEditor1.ClientID%>");
   alert(editor.Id);
//returns RadEditor Client ID
</script>

 

Having the client-side RadEditor object, you can access its public methods.

See Also

Example in QSF
Client-Side API