HTMLToolbarItem Method | |
Generate HTML code for data item Toolbar with Bootstrap style.
Button type supported Submit, MVC action and Toggle.
Namespace:
SOWIWeb.Helper
Assembly:
SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public static string ToolbarItem(
List<ToolbarButton> pButtons,
Object pValue = null
)
Public Shared Function ToolbarItem (
pButtons As List(Of ToolbarButton),
Optional pValue As Object = Nothing
) As String
Parameters
- pButtons
- Type: System.Collections.GenericListToolbarButton
list of ToolbarButton/> - pValue (Optional)
- Type: SystemObject
e.g. new { id = item.ID }. Note: override parameter pButtons value
Return Value
Type:
String[Missing <returns> documentation for "M:SOWIWeb.Helper.HTML.ToolbarItem(System.Collections.Generic.List{SOWIWeb.Helper.ToolbarButton},System.Object)"]
Remarks
MVC action button type as syntax: href="@Url.Action(Action, Controller, Value)"
See Also Reference
HTMLButtonByToggle(String, ToggleType, String, String, Boolean, String, String, DataPlacements, String, String, Object)