PageStateActionButton class
SharePoint Online
Create the button used to perform edit or save actions on a page.
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.PageStateActionButton
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.PageStateActionButton
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
The control only works if there is a SPPageStateControl control and a ribbon control on the page. When the button is clicked, it sends a PageStateGroupEdit or PageStateGroupSave command to the ribbon.
The client script relies on the DOM structure rendered by the control. If the DOM structure of the control needs to be updated, then update the sts\client\script\ribbon\PageStateActionButton.cs file.
Show: