Share via


SPMobileEventsCancelNavigation Class

Renders a clickable Cancel control on a create event or edit event form for a mobile 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.SPMobileEventsCancelNavigation

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 SPMobileEventsCancelNavigation _
    Inherits SPMobileCancelNavigation

Dim instance As SPMobileEventsCancelNavigation
[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 SPMobileEventsCancelNavigation : SPMobileCancelNavigation

Remarks

The control closes the form without saving the event. The user is returned to the page that lists the events.

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

SPMobileEventsCancelNavigation Members

Microsoft.SharePoint.MobileControls Namespace