Window Returning Blank Page With External URL

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    83 posts
    Member since:
    Jan 2009

    Posted 10 Feb 2012 Link to this post

    I am trying to load a simple RadWindow that will contain a google map.  The link is correct, but for some reason when I open it in a RadWindow I get a blank page.  Not a 404 or any other error, just blank.

    <script type="text/javascript">
            function OpenMap(URL) {
                var wnd = window.radopen(URL, null);
                wnd.setSize(520, 520);
                return false;
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="True"
            KeepInScreenBounds="True" Skin="Windows7" EnableViewState="False"
            Behaviors="Close, Move">

    Then here is my link on the page:
    <a href="#" onclick="return OpenDealerMap(',%20Maryland%2020785&zoom=20&size=512x512&maptype=roadmap')">Map It</a>
  2. Marin Bratanov
    Marin Bratanov avatar
    5922 posts

    Posted 13 Feb 2012 Link to this post

    Hi Shawn,

    There are some pages that do not allow the developer to load them in iframes. This is commonly known as a frame buster script. Google are one prime example - approximately in the summer they included this in their pages, so you cannot load them in an iframe. And RadWindow uses an iframe to load the page, whose URL you provide. This means that the same behavior would be observed with the following markup:
    <iframe src=",%20Maryland%2020785&zoom=20&size=512x512&maptype=roadmap"></iframe>

     and that there is nothing we can do, but to load it in a new browser popup, via for example.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top