HTMLFormGroupEditor Method (Object, DataGrid, TempDataDictionary) | |
Gives HTML code for data editor formatted by Bootstrap in two columns (label and editor) configuration by Data Grid View
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,
DataGrid pDataGrid,
TempDataDictionary pTempData = null
)
Public Shared Function FormGroupEditor (
pData As Object,
pDataGrid As DataGrid,
Optional pTempData As TempDataDictionary = Nothing
) As String
Parameters
- pData
- Type: SystemObject
set Editor HTML code by ToHTMLEditor(Object, DataGrid, TempDataDictionary, String) - pDataGrid
- Type: SOWIData.ManagementDataGrid
parameters for Editor and Form - pTempData (Optional)
- Type: TempDataDictionary
Return Value
Type:
String[Missing <returns> documentation for "M:SOWIWeb.Helper.HTML.FormGroupEditor(System.Object,SOWIData.Management.DataGrid,System.Web.Mvc.TempDataDictionary)"]
Remarks
call EditIntoForm with standard columns and style
Examples
Example in cshtml file
if (itemDataGrid.CanEdit == true)
{
@Html.Raw(SOWIWeb.Helper.HTML.FormGroupEditor(lValue, itemDataGrid, TempData))
}
See Also