RadWindow and Ajax issue

2 posts, 0 answers
  1. rh
    rh avatar
    192 posts
    Member since:
    Jan 2007

    Posted 13 Jul 2009 Link to this post

    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?

  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 16 Jul 2009 Link to this post

    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.
Back to Top