Hi Expert,
I'm using the Rad Menu. When i click the menu "Rad Confirm" is appear. If user click the "Yes" i will go to func1 and "No" to func2. In side a func1 has "Rad Confirm" dialog appear and click yes/no.
My problem is i can't capture the first "Rad Confirm" yes/no function.
kindly please guide to me.
Best Regards,
I'm using the Rad Menu. When i click the menu "Rad Confirm" is appear. If user click the "Yes" i will go to func1 and "No" to func2. In side a func1 has "Rad Confirm" dialog appear and click yes/no.
My problem is i can't capture the first "Rad Confirm" yes/no function.
if (!clickCalledAfterRadconfirm)
{
eventArgs.set_cancel(true);
lastClickedItem = eventArgs.get_item();
if (docno!='' && docno!=null && docno!=undefined && oppno!='' && oppno!=null && oppno!=undefined)
radconfirm("Do you want to update to CRM Opportunity: <
span
style
=
'color:red'
>"
+ oppno + " </
span
>? <
br
/>", confirmCallbackFunction,450,50,"","Update to CRM");
//i wann do this way
if yes then
do func1
else
if confirm("Do you want to do func2?") then
do func2
//////////////////////////////////////////////////
else
radalert("<
span
style
=
'color:red'
> Document No. or Opportunity is empty.<
br
/>" +
"You cannot use Update-to Crm function.<
span
style
=
'color:red'
>",350,80,"Update to CRM");
}
kindly please guide to me.
Best Regards,