ThinDetailRendererAddControlsFlow Method (Control, Control, IMapper, Boolean, ControlCreationFlags, String) |
Add controls to the page where no page layout has been specified.
Controls are placed based on the PhantomCellColumns and PhantomCellWidth
mapper properties, if specified, else in a single column with each control's
width based on its ColumnWidth value.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static int AddControlsFlow(
Control host,
Control outerHost,
IMapper map,
bool isDesignMode,
ControlCreationFlags purpose,
string fieldList
)
Public Shared Function AddControlsFlow (
host As Control,
outerHost As Control,
map As IMapper,
isDesignMode As Boolean,
purpose As ControlCreationFlags,
fieldList As String
) As Integer
Parameters
- host
- Type: System.Web.UIControl
The control hosting the field controls to be created. - outerHost
- Type: System.Web.UIControl
Outer control hosting the entire layout content and around which a formatting wrapper may be added.
This is typically null and provided only when the fields are being rendered as part of a larger
construct such as with a Chooser control in report filtering.
- map
- Type: NetQuarry.DataIMapper
The mapper to use. - isDesignMode
- Type: SystemBoolean
Specifies whether or not page is being presented in debug mode. - purpose
- Type: NetQuarry.DataControlCreationFlags
Flags specifying the context for control creation. - fieldList
- Type: SystemString
The list of fields, or null to include all filterable fields.
Return Value
Type:
Int32The number of visible controls added.
See Also