HTML Editor for ASP.NET AJAX Professional Edition
InsertCustomButton Method (name, imageSrc, toolTip, onClick, referenceButtonName, insertType)
Server ReferenceWinthusiasm.HtmlEditorHtmlEditor..::.CreateToolbarInfoEventArgsInsertCustomButton(String, String, String, String, String, HtmlEditor..::.CreateToolbarInfoEventArgs..::.InsertType)
Insert a custom button.
Declaration Syntax
C#
public void InsertCustomButton(
	string name,
	string imageSrc,
	string toolTip,
	string onClick,
	string referenceButtonName,
	HtmlEditor..::.CreateToolbarInfoEventArgs..::.InsertType insertType
)
Parameters
name (String)
Name of the button.
imageSrc (String)
Absolute Url of the button image.

The button should be a 21x20 transparent gif.

toolTip (String)
Tooltip text on mouseover.
onClick (String)
JavaScript function on the page to call when clicked.
referenceButtonName (String)
Name of the button to use as a position reference for insertion.
insertType (HtmlEditor..::.CreateToolbarInfoEventArgs..::.InsertType)
How to insert relative to reference button.

Assembly: Winthusiasm.HtmlEditor (Module: Winthusiasm.HtmlEditor) Version: 2.7.0.0 (2.7.0.0)