Skip to main content
A newer version of this page is available. .

ASPxClientNavBar.GetGroupByName(name) Method

Returns a group specified by its name.

Declaration

GetGroupByName(
    name: string
): ASPxClientNavBarGroup

Parameters

Name Type Description
name string

A string value specifying the name of the group.

Returns

Type Description
ASPxClientNavBarGroup

An ASPxClientNavBarGroup object that represents the group with the specified name.

Remarks

The navbar’s client-side functionality allows navbar groups to be accessed programmatically on the client side. This method gets a client group object specified by its name. A group’s name is defined by the NavBarGroup.Name property.

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

See Also