Click or drag to resize

HTMLFormGroupEditor Method (Object, String, String, DataGridDataTypes, String, String, String, TempDataDictionary, String, String, String, Boolean, String, DataPlacements, String, String)

Gives HTML code for data editor formatted by Bootstrap in two columns (label and editor)

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string FormGroupEditor(
	Object pData,
	string pName,
	string pLabel,
	DataGridDataTypes pDataType,
	string pPlaceholder = "",
	string pEnumTypeName = "",
	string pListName = "",
	TempDataDictionary pTempData = null,
	string pStyleColLabel = "col-sm-2",
	string pStyleColEdit = "col-sm-10",
	string pStyleForm = "form-group",
	bool pRequired = false,
	string pTooltipText = "",
	DataPlacements pTooltipPlacement = DataPlacements.top,
	string pEventHandler = "",
	string pEventCommand = ""
)

Parameters

pData
Type: SystemObject
set Editor HTML code by .ToHTMLEditor( SOWIWeb.Helper.Extension)
pName
Type: SystemString

[Missing <param name="pName"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pLabel
Type: SystemString

[Missing <param name="pLabel"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pDataType
Type: SOWIData.ManagementDataGridDataTypes

[Missing <param name="pDataType"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pPlaceholder (Optional)
Type: SystemString

[Missing <param name="pPlaceholder"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pEnumTypeName (Optional)
Type: SystemString

[Missing <param name="pEnumTypeName"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pListName (Optional)
Type: SystemString

[Missing <param name="pListName"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pTempData (Optional)
Type: TempDataDictionary

[Missing <param name="pTempData"/> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

pStyleColLabel (Optional)
Type: SystemString
default is label standard
pStyleColEdit (Optional)
Type: SystemString
default is control (Editor/Button) standard
pStyleForm (Optional)
Type: SystemString
default is Form standard
pRequired (Optional)
Type: SystemBoolean
input required
pTooltipText (Optional)
Type: SystemString
help text use on editor object tooltip
pTooltipPlacement (Optional)
Type: SOWIWeb.HelperDataPlacements
tooltip placement (default top)
pEventHandler (Optional)
Type: SystemString
HTML event handler e.g. onclick. Has more one than commands separated with ,
pEventCommand (Optional)
Type: SystemString
HTML event handler command e.g. java function. Has more one than commands separated with ,

Return Value

Type: String

[Missing <returns> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,System.String,System.String,SOWIData.Management.DataGridDataTypes,System.String,System.String,System.String,System.Web.Mvc.TempDataDictionary,System.String,System.String,System.String,System.Boolean,System.String,SOWIWeb.Helper.DataPlacements,System.String,System.String)"]

See Also