SP.Ribbon.PageState.Handlers.onCancelButton(e) Method

Applies to: SharePoint Foundation 2010

Handles the "Cancel" button click event in a modal dialog when the page state changes.

SP.Ribbon.PageState.Handlers.onCancelButton(e);

Parameters

e

Type: DomEvent

A Document Object Model (DOM) element event. This parameter is ignored.

Remarks

This method closes the opened dialog with the specified dialog return value representing "Cancel".

Applies To

SP.Ribbon.PageState.Handlers Class

See Also

Reference

SP.Ribbon.PageState.Handlers Methods

SP.Ribbon.PageState Namespace