Window manager does not find existing window

3 posts, 1 answers
  1. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 03 Dec 2014 Link to this post

    Hi,
    I have a radWindowManager with two windows, if I set the OpenerElementID as a button on my form then all is ok but if I do exactly the same thing from a separate button in click as below then the window opens but it is not the window defined by 'rwDialog', it is a new empty window:

    function btnClick() {
          var oManager = GetRadWindowManager();
          oManager.open(null, "rwDialog");
    }


    This is in a master page, not sure if that makes any difference.
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3600 posts

    Posted 03 Dec 2014 Link to this post

    Hello,

    This article explains how to tackle this case: http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-wrong-window-opened.html. Probably, there is another RadWindowManager on the page, so GetRadWindowManager() does not return what you expect and you need to use $find().


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Al
    Al avatar
    203 posts
    Member since:
    Oct 2006

    Posted 04 Dec 2014 in reply to Marin Bratanov Link to this post

    Thank you, that solved my problem.
Back to Top