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
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPMobilePostsCancelNavigation _
Inherits SPMobileCancelNavigation
Dim instance As SPMobilePostsCancelNavigation
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
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.