This is a migrated thread and some comments may be shown as answers.
RadWindow and Ajax issue
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 14 Jul 2009, 04:37 AM
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?

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 16 Jul 2009, 10:31 AM
Hello rh,

I believe that this KB article will be of help.

Regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Asked by
rh
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or