Radwindow from Radmenu on master page

2 posts, 0 answers
  1. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 15 Oct 2009 Link to this post

    Hi,

    I have looked at a couple of other threads here that have told me how to call a Radwindow from a Radmenu, and my Javascript is getting called, but gives an error.  I think it may be caused because the RadMenu is on a master page, and I am not sure whether RadWindow needs to be on the master page or the content page that is loaded.

    My definition has the master page containing the RadMenu with the javascript being executed also on the Master page.  The RadWindow is on the master page as well, but when called gives "object undefined".  The internal calling routine is shown as:

    window.radopen=

    function(b,a){var c=GetRadWindowManager();

     

    return

     

    c.open(b,a)

     

    };

    Where c is returned as undefined.  My values have been passed in b and a correctly.

    This is almost working, but I'm not sure whether it's because of the Master Page issue.

    David Penny.

  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 16 Oct 2009 Link to this post

    Hello David,

    If GetRadWindowManager() returns "undefined", this means that for some reason the manager is still not rendered on the page when you try to call it - for example this could happen if you load it with Ajax. To be able to help however, we need to have a better view over your exact setup and logic.

    Please open a support ticket and send us a sample project so we could investigate further.



    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top