This is a migrated thread and some comments may be shown as answers.
Window Returning Blank Page With External URL
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Shawn asked on 10 Feb 2012, 10:34 PM
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>

1 Answer, 1 is accepted

Sort by
Marin Bratanov
Telerik team
answered on 13 Feb 2012, 01:31 PM
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 >>
Asked by
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question