Unlike regular browser counterpart, the RadConfirm dialog is non-blocking,it's designed to respond via a callback.
At a minimum the RadConfirm function takes two arguments, one HTML string with the message, and the name of a callback function that deals with the results. The callback takes a single parameter, whose value is True or False
, depending on whether the user clicks "OK" or "Cancel"
. The RadConfirm returns the client result as an argument in its Callback function only, as opposed to the standard browser confirm() function - the radconfirm() function returns a reference to the RadWindow dialog that is created and not the result
documentation for further information.