Client side event handler that is fired when a button is clicked to close the dialog. The handler receives two parameters: 1 or 0 for Ok or Cancel respectively, and the object that fired the event which is the button. This allows you to retrieve the caption.
public string OnClientDialogClick
See also:
Class wwModalDialog