Menu.CreateChildControls Method

Definition

Creates the child controls of a Menu control.

protected public:
 override void CreateChildControls();
protected internal override void CreateChildControls ();
override this.CreateChildControls : unit -> unit
Protected Friend Overrides Sub CreateChildControls ()

Remarks

This member is primarily used by control developers when deriving a custom control from the 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 CompositeDataBoundControl and CompositeControl. to create any child controls they contain in preparation for postback or rendering.

Applies to