Click or drag to resize

HTMLButtonByEvent Method

Generate HTML code for Botton with event and code

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string ButtonByEvent(
	string pEventHandler,
	string pEventCommand,
	string pIcon,
	string pLabel,
	bool pDisabled = false,
	string pStyle = "btn btn-default",
	string pTooltipText = "",
	DataPlacements pTooltipPlacement = DataPlacements.bottom,
	Object pValue = null
)

Parameters

pEventHandler
Type: SystemString
e.g. onclick
pEventCommand
Type: SystemString
e.g. window.print()
pIcon
Type: SystemString
e.g. glyphicon glyphicon-pencil
pLabel
Type: SystemString

[Missing <param name="pLabel"/> documentation for "M:SOWIWeb.Helper.HTML.ButtonByEvent(System.String,System.String,System.String,System.String,System.Boolean,System.String,System.String,SOWIWeb.Helper.DataPlacements,System.Object)"]

pDisabled (Optional)
Type: SystemBoolean

[Missing <param name="pDisabled"/> documentation for "M:SOWIWeb.Helper.HTML.ButtonByEvent(System.String,System.String,System.String,System.String,System.Boolean,System.String,System.String,SOWIWeb.Helper.DataPlacements,System.Object)"]

pStyle (Optional)
Type: SystemString
default: btn btn-default | btn-block (span the full width of a parent) | sizes: btn-lg, btn-sm, btn-xs
pTooltipText (Optional)
Type: SystemString
help text use on editor object tooltip
pTooltipPlacement (Optional)
Type: SOWIWeb.HelperDataPlacements
tooltip placement (default bottom)
pValue (Optional)
Type: SystemObject
HTML attribute value e.g. standard data item toolbar has { id = 2 }

Return Value

Type: String

[Missing <returns> documentation for "M:SOWIWeb.Helper.HTML.ButtonByEvent(System.String,System.String,System.String,System.String,System.Boolean,System.String,System.String,SOWIWeb.Helper.DataPlacements,System.Object)"]

See Also