GanttCustomToolbarItem Class
A custom toolbar item.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Remarks
Create a GanttCustomToolbarItem class instance and add this item to the Items collection to add a custom toolbar item.
<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
Inheritance
Object
StateManager
CollectionItem
MenuItem
GanttToolbarItemBase
GanttCustomToolbarItem
See Also