Compartilhar via


SPMobilePostsCancelNavigation Class

Renders a clickable cancel control on a Create Post form for a mobile blog site.

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
            Microsoft.SharePoint.MobileControls.SPMobileCancelNavigation
              Microsoft.SharePoint.MobileControls.SPMobilePostsCancelNavigation

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

Syntax

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

Remarks

The control closes the Create Post form without saving the post. The user is returned to the display form for the current post if the RedirectUrl contains the query string "ID=<item id>"; otherwise, the user is returned to the home page of the mobile blog site.

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

SPMobilePostsCancelNavigation Members

Microsoft.SharePoint.MobileControls Namespace