Gets or sets the ID of a button on the content or footer area of a dialog that can be used to close the dialog and set the return result of the dialog.
[Visual Basic]
Public Property AcceptButton As
String
[C#]
public
String AcceptButton {get; set;}
Remarks
When user clicks the accept button, the dialog will be closed and the button's CommandName property will be set as the return result of the dialog, which can be retrieved by using the dialog's client API.
Client script can use this return result to know how the user closes the dialog.
The ID assigned to this property must be either a LinkButton, ImageButton or Button that is on content or footer area of the current dialog.
See Also
Dialog Class | EO.Web Namespace