Share via


WebPartMobilePage.OnPreRender Method

Represents the method that handles the PreRender event of the page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub OnPreRender ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreRender(e)
protected override void OnPreRender(
    EventArgs e
)

Parameters

Remarks

This override will redirect the request to the mobile list-of-lists page if no mobile adapters for any of the Web Parts on the nonmobile target page.

See Also

Reference

WebPartMobilePage Class

WebPartMobilePage Members

Microsoft.SharePoint.WebPartPages Namespace