Hi,
I did the below code to get the return value "true" then submit the page again.
what happens is that before getting the value page submit.
first I want to know how to get the return true or false from radconfirm and then how to do submit then sequentially.
function
confirms(arg)
{
var bSave=radconfirm(arg,confirmCallBackFn,300,200,null,'Want to Save');
if (bSave)
{
alert(
'hello');
document.getElementById(
"hidServer").value=1;
document.getElementById(
"form1").submit();
}
else
{
document.getElementById(
"hidServer").value=0;
}
}
function
confirmCallBackFn(arg)
{
alert(arg);
if
(arg == true)
{
document.getElementById(
"form1").submit();
var
oManager = GetRadWindowManager();
oManager.Close();
}
else
{
alert(
'not Closed');
}
}
thanks,
Puru