SubmitForApprovalCommandHandler Class
Handles the Submit for Approval button on the ribbon for the case where the rendered page represents a wiki or publishing page. Does not handle the case where a library view is displayed.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.WebControls.SPRibbonCommandHandler
Microsoft.SharePoint.WebControls.SubmitForApprovalCommandHandler
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Class SubmitForApprovalCommandHandler _
Inherits SPRibbonCommandHandler _
Implements ICallbackEventHandler, IPostBackEventHandler
'Usage
Dim instance As SubmitForApprovalCommandHandler
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class SubmitForApprovalCommandHandler : SPRibbonCommandHandler,
ICallbackEventHandler, IPostBackEventHandler
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.