TypedMapperExtensionTFieldCreateControl Method |
Fired when a field with
CellType of
Dynamic needs to
create a WebControl (typically for use in a detail page or editable datasheet). In response the
exension should specify the
CellTypes and/or WebControl to use.
The
CellTypes is set by calling
SetCellType(CellTypes, Int32) and
the WebControl is set via
BaseControl. If only the
CellTypes
is set then the field will perform normal control creation and configuration for that
CellTypes.
If a live WebControl object is provided via
BaseControl then that control
will be used and it is the extension's obligation to perform most set up.
See
CreateControlArgs for additional information about how to respond to this event.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public virtual void FieldCreateControl(
IField sender,
CreateControlArgs e
)
Public Overridable Sub FieldCreateControl (
sender As IField,
e As CreateControlArgs
)
Parameters
- sender
- Type: NetQuarry.DataIField
The field that needs to create a control. - e
- Type: NetQuarry.DataCreateControlArgs
Event arguments providing the save information.
See Also