CompositeDataBoundControl Class
.NET Framework 3.0
Represents the base class for a tabular data-bound control that is composed of other server controls.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public ref class CompositeDataBoundControl abstract : public DataBoundControl, INamingContainer
public abstract class CompositeDataBoundControl extends DataBoundControl implements INamingContainer
public abstract class CompositeDataBoundControl extends DataBoundControl implements INamingContainer
Not applicable.
The CompositeDataBoundControl class serves as the base class for a composite server control that binds to data from a data source. A composite server control is a control that is built from a combination of other server controls. Page developers do not use the CompositeDataBoundControl class directly; instead, they use controls that derive from this class. Examples of composite data-bound controls include the DetailsView, FormView, and GridView controls.
Classes that inherit from the CompositeDataBoundControl control must override the CreateChildControls(IEnumerable,Boolean) method to create the control hierarchy. To access the child controls of a composite data-bound control, use the Controls collection.
Notes to Inheritors: When you inherit from the CompositeDataBoundControl class, you must override the following member: CreateChildControls(IEnumerable,Boolean).- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.BaseDataBoundControl
System.Web.UI.WebControls.DataBoundControl
System.Web.UI.WebControls.CompositeDataBoundControl
System.Web.UI.WebControls.DetailsView
System.Web.UI.WebControls.FormView
System.Web.UI.WebControls.GridView
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.BaseDataBoundControl
System.Web.UI.WebControls.DataBoundControl
System.Web.UI.WebControls.CompositeDataBoundControl
System.Web.UI.WebControls.DetailsView
System.Web.UI.WebControls.FormView
System.Web.UI.WebControls.GridView
Community Additions
ADD
Show: