I'm trying to use RADConfirm for the first time calling it from my codebehind.
I'm using Q1 of RadControls, .Net 4.0, VS 2010.
I have a web form with a button on it. In a function called by the button click event, I put the following:
RadWindowManager1.RadConfirm("Are you sure?", "confirmCallBackFn", 300, 100, null, "Delete all messages?");
On the page I have a asp:ScriptManager, a telerik:RadAjaxManager, and a telerik:RadWindowManager.
In the debugger I can see the line with the RADConfirm does get executed but I never see anything pop up in the browser. Am I making a rookie mistake? Please enlighten me.
Also, once I can get it to show up, what gets returned? True or False, yes? Could I do something like:
if (RadWindowManager1.RadConfirm("Are you sure?", "confirmCallBackFn", 300, 100, null, "Delete all messages?"))
{
//delete the messages
}
Thanks!
Matt
I'm using Q1 of RadControls, .Net 4.0, VS 2010.
I have a web form with a button on it. In a function called by the button click event, I put the following:
RadWindowManager1.RadConfirm("Are you sure?", "confirmCallBackFn", 300, 100, null, "Delete all messages?");
On the page I have a asp:ScriptManager, a telerik:RadAjaxManager, and a telerik:RadWindowManager.
In the debugger I can see the line with the RADConfirm does get executed but I never see anything pop up in the browser. Am I making a rookie mistake? Please enlighten me.
Also, once I can get it to show up, what gets returned? True or False, yes? Could I do something like:
if (RadWindowManager1.RadConfirm("Are you sure?", "confirmCallBackFn", 300, 100, null, "Delete all messages?"))
{
//delete the messages
}
Thanks!
Matt