Share via


MyLinksRibbon.OnLoad Method

This member is reserved for internal use and is not intended to be used directly from your code. Raises the Load event.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Protected Overrides Sub OnLoad ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnLoad(e)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
protected override void OnLoad(
    EventArgs e
)

Parameters

Remarks

This override calls the NeedScriptOnPage() method to check the page. If the current page has a My Links ribbon, it calls the RegisterCallbackScript() method to register the Java Script for initializing the ribbon on the page.

See Also

Reference

MyLinksRibbon Class

MyLinksRibbon Members

Microsoft.Office.Server.WebControls Namespace