UnsecuredLayoutsPageBase.TryToRedirectMobileAccess Method
Redirects a request from a mobile device to the mobile version of the page, if there is one, or to an error page informing the user that there is no mobile version of the page.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overridable Sub TryToRedirectMobileAccess
'Usage
Me.TryToRedirectMobileAccess()
protected virtual void TryToRedirectMobileAccess()
Remarks
The default implementation redirects to an error page if the MobilePageUrl property is a null reference (Nothing in Visual Basic) or an empty string.
See Also
Reference
UnsecuredLayoutsPageBase Class