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()
Protected Overridable Function IndexGetToolbar As List(Of ToolbarButton)
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
ToolbarButtonsIndexExamples
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