Share via


UnsecuredLayoutsPageBase.MobileRedirect Method

Redirects a request from a mobile device to the mobile version of the page as specified by the MobilePageUrl property.

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

Syntax

'Declaration
Protected Overridable Sub MobileRedirect
'Usage

Me.MobileRedirect()
protected virtual void MobileRedirect()

Remarks

The default implementation uses Response.Redirect Method. It does not verify that the MobilePageUrl property has a valid value. Contrast this method with the TryToRedirectMobileAccess() method.

See Also

Reference

UnsecuredLayoutsPageBase Class

UnsecuredLayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace