Table of Contents
getResult Method 

Returns the dialog result.

Syntax
JavaScript
 Dialog.getResult()
Remarks

The return result depends on how the dialog is closed:

  • If the dialog is closed by user clicking accept button, this function returns the accept button's CommandName property.
  • If the dialog is closed by usier clicking cancel button or close image, this function returns the cancel button's CommandName property.
  • If the dialog is closed by using client side JavaScript close, the returned object is the parameter which is passed in to the close function call.

See Also