SPMobilePostsCancelNavigation Class

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

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

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobilePostsCancelNavigation : SPMobileCancelNavigation

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.

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