Telerik
Home / Community / Forums / RadControls for ASP.NET: Window / How can I Call a RadWindow on a MasterPage from the Child?

How can I Call a RadWindow on a MasterPage from the Child?

Feed from this thread
  • Steele avatar

    Posted on Jun 30, 2006 (permalink)

    if I put the Window control on the Master Page, it's ID gets rewritten from MasterDialogWindow to _ctl0_MasterDialogWindow.

    If I try to use javascript from the Child or even from a UserControl on the MasterPage such as: window.radopen('Finder.aspx', _ctl0_MasterDialogWindow);

    I get an 'object' is undefined error.  it's a javascript link in a menu calling a function, but it doesn't even go into the function, because I believe the javascript is erroring on the page.  I have not put any js on the page, it's only stuff that comes from telerik controls right now.

    Reply

  • Steele avatar

    Posted on Jun 30, 2006 (permalink)

    nevermind, I am clearly doing something wrong somewhere else on the page...

    It works fine in a new project of the same structure.

    Reply

  • Steele avatar

    Posted on Jun 30, 2006 (permalink)

    The problem is authenticationm for me.  I assumed that as a child window this would pass along authentication, apparently its not from the default settings.

    Reply

  • Telerik Admin admin's avatar

    Posted on Jul 3, 2006 (permalink)

    Hi Steele,

    The RadWindow object is an iFrame and you can expect it to have the same behavior with it as with a regular iFrame.

    If you still have problems, it will be best if you open a new support ticket and send us a sample project that shows the issues that you experience.




    Kind regards,
    Georgi Tunev
    the telerik team

    Reply

  • Steele avatar

    Posted on Jul 3, 2006 (permalink)

    OK, I think I need some help from support on this, it is quite strange behavior and obviously something in my app.

    Reply

  • Telerik Admin admin's avatar

    Posted on Jul 4, 2006 (permalink)

    Hello Steele,

    I have received your ticket and sent you a reply. Unfortunately we are still unable to pinpoint the reason for this behavior - the project that you sent is working fine.

    It will be best if you can send us your project so we can check it. If this is not possible, you can try stripping the other controls on the page, one by one and see when the problem will disappear. This could help you pinpoint the reason for the problem.



    Best wishes,
    Georgi Tunev
    the telerik team

    Reply

  • Steele avatar

    Posted on Jul 5, 2006 (permalink)

    This turned out to be completely my fault (well, my app's anyway).  I am sorry.

    There was some javascript getting loaded that was screwing around with the IFrames, I think it was from our prior menu control...
     
    Anyway, I removed it and radWindow works perfectly.

    Thanks for helping me make this app look 100 times better now!

    Reply

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2009 Telerik. All rights reserved.