Control.ChildControlsCreated Property
.NET Framework 2.0
Gets a value that indicates whether the server control's child controls have been created.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ protected boolean get_ChildControlsCreated () /** @property */ protected void set_ChildControlsCreated (boolean value)
protected function get ChildControlsCreated () : boolean protected function set ChildControlsCreated (value : boolean)
Not applicable.
Property Value
true if child controls have been created; otherwise, false.The following example demonstrates an override of the OnDataBinding method of a custom Repeater control. To ensure that child controls are not created until data binding occurs again, the ChildControlsCreated property is set to true after the RepeaterItem objects are created and added to the control's ControlCollection object.
The following example demonstrates how to use the custom repeater control in a Web page.
Community Additions
ADD
Show: