BSP : Calling script on onClientClick - how to get the result event?
<htmlb:button id = "RelLockButton"
design = "emphasized"
text = "Unlock shift report"
tooltip = "<%= tool_tip %>"
disabled = "<%= unlock %>"
onClick = "OnInputProcessing"
onClientClick = "htmlbevent.cancelSubmit=!Script_DS('<%= shopflr %>')" />
The calling script open a new window "RelConfirmation.htm" using:
var settings = 'dialogHeight: 190px; dialogWidth: 380px; dialogTop: 500px; dialogLeft: 500px; edge: Raised; center: Yes; help: No; resizable: No; status: No; toolbar: No; menubar: No; scroll : no';
var arg = new Object();
arg.val = args;
var return_detail = window.showModalDialog('RelConfirmation.htm',arg, settings);
if (return_detail != null)
The window "RelConfirmation.htm" just has some text displayed and a button "confirm" or "Cancel" button....Since some of the validation in the main page "Main.htm" from where the page RelConfirmation.htm called are dependant on the user selection (either "confirm" or "Cancel" ) there is a need for me to retrieve the user selection back to the main page....can u please advise on how to handle this?