Compartilhar via


SPMobileButtonNavigation Class

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

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      Microsoft.SharePoint.MobileControls.SPMobileComponent
        Microsoft.SharePoint.MobileControls.SPMobileNavigation
          Microsoft.SharePoint.MobileControls.SPMobileButtonNavigation
            

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileButtonNavigation _
    Inherits SPMobileNavigation
'Usage
Dim instance As SPMobileButtonNavigation
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileButtonNavigation : SPMobileNavigation

Remarks

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.

Thread Safety

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

See Also

Reference

SPMobileButtonNavigation Members

Microsoft.SharePoint.MobileControls Namespace

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      Microsoft.SharePoint.MobileControls.SPMobileComponent
        Microsoft.SharePoint.MobileControls.SPMobileNavigation
          Microsoft.SharePoint.MobileControls.SPMobileButtonNavigation
            SPMobileGroupBoardDateTimeRefreshButton
            Microsoft.SharePoint.MobileControls.SPMobileCancelNavigation
            Microsoft.SharePoint.MobileControls.SPMobileDeleteNavigation
            Microsoft.SharePoint.MobileControls.SPMobileFileUploadButton
            Microsoft.SharePoint.MobileControls.SPMobilePeopleSearchButton
            Microsoft.SharePoint.MobileControls.SPMobilePostsRefreshNavigation
            Microsoft.SharePoint.MobileControls.SPMobileRefreshNavigation
            Microsoft.SharePoint.MobileControls.SPMobileSelectPeoplePickerFormButton
            Microsoft.SharePoint.MobileControls.SPMobileSelectStandardFormButton
            Microsoft.SharePoint.MobileControls.SPMobileViewFilterSaveNavigation