GanttCustomToolbarItem.CommandName Property
Specifies the command name.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | The command name. |
Remarks
The CommandName property specifies a custom toolbar item’s command name.
<dx:ASPxGantt ID="Gantt">
<SettingsToolbar>
<Items>
<dx:GanttCustomToolbarItem Text="About" CommandName="About" />
</Items>
</SettingsToolbar>
<ClientSideEvents CustomCommand="CustomCommand" />
...
</dx:ASPxGantt>
function CustomCommand(s, e) {
if (e.commandName == "About")
alert('Sample message');
}
Examples
See Also