Click or drag to resize

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
)

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: Int32
The number of visible controls added.
See Also