| EditableGridCreateChildControls Method |
Creates the control hierarchy used to render Grid control using the specified data source.
Namespace:
Dynamicweb.Controls
Assembly:
Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax protected virtual int CreateChildControls(
IEnumerable dataSource,
bool dataBinding
)
Protected Overridable Function CreateChildControls (
dataSource As IEnumerable,
dataBinding As Boolean
) As Integer
Parameters
- dataSource
- Type: System.CollectionsIEnumerable
Control data source. - dataBinding
- Type: SystemBoolean
Value indicating whether data binding is in progress.
Return Value
Type:
Int32The number of child controls created (or -1 if there was no need to create any child controls).
Remarks See Also