System.Web.UI.WebControls.DataList.PrepareControlHierarchy Method

Prepares the control hierarchy for rendering in the System.Web.UI.WebControls.DataList control.

Syntax

protected override void PrepareControlHierarchy ()

Remarks

The DataList.PrepareControlHierarchy method is used primarily by control developers when deriving a custom control from the System.Web.UI.WebControls.DataList control.

The DataList.PrepareControlHierarchy prepares the control hierarchy and sets styles for contained System.Web.UI.WebControls.DataListItem controls before the child controls are rendered.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0