ToolbarInsertLinkDialogButton Class

A default toolbar button that invokes a link dialog allowing a hyperlink to be inserted into the design view area.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

public class ToolbarInsertLinkDialogButton :
    HtmlEditorToolbarItem
Public Class ToolbarInsertLinkDialogButton
    Inherits HtmlEditorToolbarItem

Remarks

ASPxHtmlEditor supports working with links in the design view area, by using the specific link dialogs that can be invoked by clicking the Insert Link button (of the ToolbarInsertLinkDialogButton type).

You can add the Insert Link button to toolbars by using either the ASPxHtmlEditor designer at design time, or programmatically.

protected void Page_Load(object sender, EventArgs e)
{
    HtmlEditorToolbar stToolbar1 = HtmlEditorToolbar.CreateStandardToolbar1();
    ToolbarInsertLinkDialogButton linkButton = new ToolbarInsertLinkDialogButton();
    stToolbar1.Items.Add(linkButton);
    ASPxHtmlEditor1.Toolbars.Add(stToolbar1);
}

Inheritance

See Also