Javascript infinite loop reload

2 posts, 0 answers
  1. Mattias Hermansson
    Mattias Hermansson avatar
    24 posts
    Member since:
    May 2010

    Posted 28 Aug 2013 Link to this post


    I have a Kendo().Window() in my _Layout where i use the .LoadContentFrom("Method","Controller") But if the window can't get to the method due to not logged in, i get a infinite loop of script load at the login page since the KendoUiwindow is trying to access the method. Is there a way to set the timeout on the LoadContentFrom() or something?

  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 30 Aug 2013 Link to this post

    Hello Anders,

    The loading of the content cannot be slowed down. However you can leave the Window with empty Content() and skip specifying LoadContentFrom configuration.
    Later on on the client side with JavaScript you can load the content with the client method called refresh.


    Kind Regards,
    Petur Subev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top