Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPMobileWebTemplateSelector Class

Selects, based on the type of the current site, a RenderingTemplate template to either render a section (Header, Contents, or Footer) of a mobile home page or redirect the mobile device to a home page.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileWebTemplateSelector : SPMobileTemplateSelector

For an overview of the role of the classes that derive from SPMobileWebTemplateSelector in the page rendering system for mobile devices, see Mobile Page Rendering System.

This class and its derived classes cannot be used to render sections of list view or form pages. To render sections of those pages, use classes derived from SPMobileListTemplateSelector.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.