Menu::CreateChildControls Method ()

 

Creates the child controls of a Menu control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public protected:
virtual void CreateChildControls() override

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.

.NET Framework
Available since 2.0
Return to top
Show: