WebPartMobileWebPage.OnPreRender method
OnPreRender This method only contains redirection logic to go to mobile list of lists page if no web parts are enabled for mobile use. This redirectoin logic was once implemented in OnInit above, but it was moved to this method so that the redirection happens surely after all control templates (WSS, MOSS, or any control templates) are loaded in OnLoad. O14#633478 needs such a change so that MOSS control template can override mobile web parts behavior.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.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