Click or drag to resize

ControllerStandardDataItemClassIndexGetToolbar Method

Standard toolbar for Index with button: create (default and disabled not CanCreate), refresh, ListHeader (toogle for LiestHeader) and EditDataGridView

Namespace:  SOWIWin.Helper
Assembly:  SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
protected virtual List<ToolbarButton> IndexGetToolbar()

Return Value

Type: ListToolbarButton

[Missing <returns> documentation for "M:SOWIWin.Helper.ControllerStandard`1.IndexGetToolbar"]

Remarks
Advice: standard toolbar buttons don't remove from Toolbar Button list because enumeration Toolbar button index see ToolbarButtonsIndex
Examples
Toolbar extension. Code for logic Back see IndexOnActionResultPostCase(String)
protected override List<ToolbarButton> IndexGetToolbar()
{
    var lToolbar = base.IndexGetToolbar();
    lToolbar.Add(new SOWIWeb.Helper.ToolbarButton("Back", "glyphicon glyphicon-menu-left"));
    return lToolbar;
}
See Also