Skip to main content

ASPxClientHtmlEditor.GetToolbarByName(name) Method

Returns a toolbar specified by its name.

Declaration

GetToolbarByName(
    name: string
): ASPxClientMenu

Parameters

Name Type Description
name string

A string value specifying the toolbar name.

Returns

Type Description
ASPxClientMenu

An ASPxClientMenu object that is the toolbar with the specified name.

Remarks

The HTML editor’s client-side functionality allows you toolbars to be accessed programmatically on the client side. The GetToolbarByName method gets a client toolbar object specified by its name. A toolbar’s name is defined by the MenuItem.Name property.

Note that if an invalid name is passed using the parameter, this method returns null.

See Also