MapperUtilsFieldRootControl Method (WebControl) |
Retrieve the root control for the specified control. Generally the root control is simply the
Textbox control, Select control, etc. However, in some cases the control is wrapped (e.g. RadioButtons)
in which case the control returned is the outermost wrapper.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static WebControl FieldRootControl(
WebControl ctrl
)
Public Shared Function FieldRootControl (
ctrl As WebControl
) As WebControl
Parameters
- ctrl
- Type: System.Web.UI.WebControlsWebControl
The control for which to obtain the root control.
Return Value
Type:
WebControlThe field's root control.
See Also