WebPartMobileWebPage.OnInit method
Add all the web parts, which is capable of mobile rendering, in predetermined order. Only 1 web part will be added when both of the following conditions are met: 1. The browser is a mobile browser. 2. Page URL contains WebPartId QueryString value.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overrides Sub OnInit ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnInit(e)
protected override void OnInit(
EventArgs e
)
Parameters
e
Type: System.EventArgsAn object that contains event data.