Share via


SPMobilePostsCancelNavigation class

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPMobilePostsCancelNavigation _
    Inherits SPMobileCancelNavigation
'Usage
Dim instance As SPMobilePostsCancelNavigation
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
[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