DivWidgetBaseAddFormGroupBoot Method |
Creates a Bootstrap "control-group" inside a Bootstrap "form-group", and adds the "form-group" to
the provided container. If includeControlsContainer is specified then a "controls" element is
created inside the "control-group". The innermost of these is returned.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected Panel AddFormGroupBoot(
WebControl container,
bool includeControlsContainer,
string cssClass = null
)
Protected Function AddFormGroupBoot (
container As WebControl,
includeControlsContainer As Boolean,
Optional cssClass As String = Nothing
) As Panel
Parameters
- container
- Type: System.Web.UI.WebControlsWebControl
The container to which to add. - includeControlsContainer
- Type: SystemBoolean
Specifies whether or not an inner "controls" element should be added. - cssClass (Optional)
- Type: SystemString
Optional CssClass(es) to be added to the "form-group".
Return Value
Type:
PanelThe "controls" control if includeControlsContainer is specified, else the "control-group" control.
See Also