ConsoleAction.RaisePostBackEvent Method
Represents code that is executed on the server when this ConsoleAction object is clicked.
Namespace: Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overridable Sub RaisePostBackEvent ( _
eventArgument As String _
)
'Usage
Dim instance As ConsoleAction
Dim eventArgument As String
instance.RaisePostBackEvent(eventArgument)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public virtual void RaisePostBackEvent(
string eventArgument
)
Parameters
eventArgument
Type: System.StringStandard eventArgument submitted from the Web browser.
Implements
IPostBackEventHandler.RaisePostBackEvent(String)
Remarks
When this ConsoleAction object is the target of a postback, this code is executed. This method is commonly used for actions that update the current PublishingPage or SPListItem objects. Examples include Save, Approve, and PublishConsoleAction objects.
See Also
Reference
Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions Namespace