SPMobileButtonNavigation Class
Collapse the table of content
Expand the table of content

SPMobileButtonNavigation Class

Renders a clickable control, usually in the Footer (Navigation) section of a mobile page, that performs a function and causes a postback.


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 SPMobileButtonNavigation : SPMobileNavigation

Use SPMobileButtonNavigation as a base class for classes that provide some specific type of functionality such as saving an item.

The control is usually a button, but it can be a link. Following the completion of its function, the postback takes the user to the URL in RedirectUrl. This does not have to be a new page. The action might, for example, simply refresh the current page.

Contrast SPMobileButtonNavigation with SPMobileLinkNavigation, which directly navigates to a new page without causing a postback.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

© 2016 Microsoft