Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PageStateActionButton class

Create the button used to perform edit or save actions on a page.


Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class PageStateActionButton : SPControl

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.