System.Web.UI.WebControls.Menu.CreateChildControls Method

Creates the child controls of a System.Web.UI.WebControls.Menu control.

Syntax

protected override void CreateChildControls ()

Remarks

This member is primarily used by control developers when deriving a custom control from the System.Web.UI.WebControls.Menu class.

This method is called by the ASP.NET infrastructure to notify any controls that use composition-based implementation, including controls that derive from System.Web.UI.WebControls.CompositeDataBoundControl and System.Web.UI.WebControls.CompositeControl. to create any child controls they contain in preparation for postback or rendering.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0