SP.Ribbon.PageState.PageStateHandler Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.Ribbon.PageState.PageStateHandler class.

Methods

Name

Description

canHandleCommand

Indicates whether the page component can handle the specified command.

dismissErrorDialog

Closes the error modal dialog.

dismissWaitScreen

Closes the wait screen modal dialog.

EnableSaveBeforeNavigate

Enables or disables the save operation before navigating away from the page.

getButtonId

Gets the button ID of the Server ribbon corresponding to the specified page state command.

getFocusedCommands

Gets a list of the focused commands.

getGlobalCommands

Gets a list of the global commands.

getId

Gets the identifier (ID) for the page component.

handleCommand

Handles the specified command passed to the page component.

init

Displays the error or status messages for the page.

isFocusable

Indicates whether this component can have the focus.

PageStateHandler

Initializes a new instance of the SP.Ribbon.PageState.PageStateHandler class.

popupWaitScreen

Displays the wait screen modal dialog with the specified title and message.

receiveFocus

Receives the focus to this component.

SaveBeforeNavigateCallback

Handles the response from the server callback event.

setHandleSaveMenu

Specifies whether the save menu should be handled.

showErrorDialog

Creates and displays the error modal dialog.

showPageStatus

Sets or removes the status messages for the page.

updatePageState

Updates the status messages for the page.

WikiSaveBeforeNavigateCallback

Handles the response from the server callback event of the wiki page.

yieldFocus

Yields the focus from this component.

Applies To

SP.Ribbon.PageState.PageStateHandler Class

See Also

Reference

SP.Ribbon.PageState.PageStateHandler Events

SP.Ribbon.PageState.PageStateHandler Fields

SP.Ribbon.PageState Namespace