HTML Editor for ASP.NET AJAX

Professional Edition
HtmlEditor InsertHtml Method

Inserts html at the last context location when in Design mode.

Namespace: Winthusiasm.HtmlEditor

Syntax
InsertHtml(html)
Parameters
TermDefinition
htmlThe html to insert.

Return Value
None.

Remarks
Use the InsertHtml method to insert html at the last context location when in Design mode.

The method automatically inserts the html at the last context location, sets the focus, and updates the undo stack.

This method will close any dialogs or menus that are currently displayed.

Examples
First get a reference to the client-side editor:
var editor = $find('<%= Editor.ClientID %>');
Then use it to insert the html:
editor.InsertHtml("This text is <strong>bold</strong>.");