HtmlMenu.OnPreRender Method
Handles the PreRender event.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub OnPreRender ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnPreRender(e)
protected override void OnPreRender(
EventArgs e
)
Parameters
- e
Type: System.EventArgs
The data for the event.
Remarks
This override registers the cascading style sheet (CSS) file named “portal.css”, and also registers ECMAScript (JavaScript, JScript) files named “HtmlMenus.js” and “owsbrowws.js”. Not all ECMAScript (JavaScript, JScript) are registered for unsupported browsers.