ThinDetailRendererAddControlsPerLayoutControl Method |
Layout controls per their placement in the provided host UserControl. That control should
have "fld", "lbl", "tip", and "desc" placeholder controls to be replaced with the control, label,
in-place tooltip, and description of the corresponding field.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static int AddControlsPerLayoutControl(
Control host,
IMapper map,
string layoutSource,
bool isDesignMode,
ControlCreationFlags purpose,
string fieldList
)
Public Shared Function AddControlsPerLayoutControl (
host As Control,
map As IMapper,
layoutSource As String,
isDesignMode As Boolean,
purpose As ControlCreationFlags,
fieldList As String
) As Integer
Parameters
- host
- Type: System.Web.UIControl
The UserControl to fix up. - map
- Type: NetQuarry.DataIMapper
The mapper to bind. - layoutSource
- Type: SystemString
The source of the layout. Provided for diagnostic purposes. - isDesignMode
- Type: SystemBoolean
Specifies whether or not the page is in design mode. - purpose
- Type: NetQuarry.DataControlCreationFlags
The purpose of the layout. - fieldList
- Type: SystemString
The list of fields to display.
Return Value
Type:
Int32The number of visible controls added.
See Also