radwindowmanager shows last message not current

3 posts, 0 answers
  1. luis molina
    luis molina avatar
    2 posts
    Member since:
    Oct 2009

    Posted 29 Jun Link to this post

    Hi, I have two grids with ajax and one function that opens a window with a windowmanager, when using the function in the first grid (with a button and in the updatecommand) it works ok and it shows a message I put with the current time, but If I try to use that function from an event in the second grid it shows the last message not current. I'll try to explain:

     

    - the new window has a label when I put the next message: current time + "bla bla" before opening it

    - if I use it from the first grid it shows the current time but from the second grid it shows the last message not the current time...

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 29 Jun Link to this post

    Hello,

    The most likely reason for such behavior is that the AJAX setup on the page is not configured properly.

    I first advise that you review the following article on using RadWindow with AJAX: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/how-to/how-to-use-radwindow-with-ajax.

    Then, if you are using the ContentTemplate, you should move the RadWindow out of the RadWindowManager: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/getting-started/using-radwindow-as-controls-container.

    Finally, you need to make sure the AJAX request from the second grid also updates the RadWindow contents, just like the first grid does.

    Regards,

    Marin Bratanov
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. luis molina
    luis molina avatar
    2 posts
    Member since:
    Oct 2009

    Posted 30 Jun in reply to Marin Bratanov Link to this post

    You are right

     

Back to Top