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)
Property Valuetrue 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.