I am using RadConfirm dialog in my asp.net web form to get the user confirmations. Since the user can click OK or cancel and there is a third possibility that he can click the X button to close. Therefore how to differentiate between these user interactions?
You can use the Callback function of the RadConfirm to check if the user has pressed OK/Cancel or whether he has closed the dialog. Please have a look at the following JavaScript I tried which works fine at my end. The argument of the Callback function returns null if the user directly closes the RadConfirm.