Click or drag to resize

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
)

Parameters

dataSource
Type: System.CollectionsIEnumerable
Control data source.
dataBinding
Type: SystemBoolean
Value indicating whether data binding is in progress.

Return Value

Type: Int32
The number of child controls created (or -1 if there was no need to create any child controls).
Remarks