CompositeDataBoundControl.CreateChildControls Method (IEnumerable, Boolean)
When overridden in an abstract class, creates the control hierarchy that is used to render the composite data-bound control based on the values from the specified data source.
Assembly: System.Web (in System.Web.dll)
An IEnumerable that contains the values to bind to the control.
true to indicate that theis called during data binding; otherwise, false.
Return ValueType: System.Int32
The number of items created by the.
The CreateChildControls() method is a helper method that is used by classes that derive from the CompositeDataBoundControl class to create the control hierarchy for a composite data-bound control. When extending the CompositeDataBoundControl class, you must override the CreateChildControls() method to create your own control hierarchy. For more information on creating a composite control, see Developing Custom ASP.NET Server Controls.
Available since 2.0