VariationsLabelEcbMenu.OnLoad Method
NOTE: This API is now obsolete.
Raises the OnLoad(System.EventArgs) method.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("Use of this control is not recommended.", False)> _
Protected Overrides Sub OnLoad ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnLoad(e)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Use of this control is not recommended.", false)]
protected override void OnLoad(
EventArgs e
)
Parameters
e
Type: System.EventArgsEvent arguments.
Remarks
Initialize by testing if this control should be visible or not and registers the script that binds the label data to the contextual menu. Default visibility of the menu is set to false, unless this non-a null reference (Nothing in Visual Basic) area has a non-a null reference (Nothing in Visual Basic)VariationGroupId.