Menu.InitializeControlIds method
Sets the properties that could not be initialized correctly during the point in the control life cycle when they were set for the first time.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub InitializeControlIds ( _
namingContainerScope As Control _
)
'Usage
Dim instance As Menu
Dim namingContainerScope As Control
instance.InitializeControlIds(namingContainerScope)
public void InitializeControlIds(
Control namingContainerScope
)
Parameters
namingContainerScope
Type: System.Web.UI.ControlThe control defining the naming container.
Remarks
Initially, each flag must be set that tells each of these properties that the control has been initialized far enough that they can now be set correctly. Then the properties can be set using their saved values.