Hi
I am using rad confirm box to display a message. If the user clicks yes I have to do some steps. If "no" then something else. How can I do this? Here is what I have so far. Appreciate help with this.
aspx.cs
=======
MoreInformationWindowManager.RadConfirm("This event time slot has no available openings. Would you like to be put on the wait list?", "confirmCallBackFn", 330, 180, null, "WARNING");
if(result(radconfirm) == yes)
{
some code
}
else
{some code
}
aspx
====
function confirmCallBackFn(arg) {
if (arg == true) {
radalert("<strong>You have been waitlisted. An email has been sent out to you.</strong> <h3 style='color: #ff0000;'>" + arg + "</h3>", 350, 250, "CONFIRMATION");
}
else {
radalert("<strong>You have cancelled the request.<strong>" ,330, 180, "CONFIRMATION", null);
// "confirmCallBackFn", 330, 180, null, "WARNING");
}
}
I am using rad confirm box to display a message. If the user clicks yes I have to do some steps. If "no" then something else. How can I do this? Here is what I have so far. Appreciate help with this.
aspx.cs
=======
MoreInformationWindowManager.RadConfirm("This event time slot has no available openings. Would you like to be put on the wait list?", "confirmCallBackFn", 330, 180, null, "WARNING");
if(result(radconfirm) == yes)
{
some code
}
else
{some code
}
aspx
====
function confirmCallBackFn(arg) {
if (arg == true) {
radalert("<strong>You have been waitlisted. An email has been sent out to you.</strong> <h3 style='color: #ff0000;'>" + arg + "</h3>", 350, 250, "CONFIRMATION");
}
else {
radalert("<strong>You have cancelled the request.<strong>" ,330, 180, "CONFIRMATION", null);
// "confirmCallBackFn", 330, 180, null, "WARNING");
}
}