I have several cases where I have a control that does some processing and I want to display a RadWindow when the processing is done. I can do this easily in a general postback. I have a usercontrol which hosts the RadWindow and in the code behind I have a method to DisplayMessage:
public void DisplayMessage( string message, string title, int width, int height )
{
string script = String.Format("Sys.Application.add_load(function(){{ radalert('{0}', {1}, {2}, '{3}');}});",
message, width, height, title);
ScriptManager.RegisterStartupScript(this, GetType(), "radalert", script, true);
}
My issue is that I can't get this to work with ajax. I've tried to wrap my user control in a Panel control and then set an ajax setting where the updated control is the Panel. When I do this I can get the RadAjaxLoadingPanel to display (which is one lf my goals so that the user knows that the process is running) but the message box doesn't display.
How do you wire up the RadWindow in ajax?