This is a migrated thread and some comments may be shown as answers.

Radwindow Takes over Browser

1 Answer 42 Views
Window
This is a migrated thread and some comments may be shown as answers.
Chris Salas
Top achievements
Rank 1
Chris Salas asked on 19 Sep 2012, 07:34 PM
Ive run into an issue here, when i try to use the radopen JS function to open an external web page, it takes over the browser.  Please help.

Markup
<telerik:RadWindow ID="radWindowPeopleSoftEdit" runat="server" ShowContentDuringLoad="false"
MinWidth="800" Height="600" VisibleStatusbar="false" AutoSize="false" ReloadOnShow="true"
IconUrl="/global/images/edit.gif" VisibleOnPageLoad="false" Behaviors="Move, Close"
Overlay="true" Modal="true">
</telerik:RadWindow>

string script = "radopen('[External Site]','radWindowPeopleSoftEdit');";
imgPopUpEdit.Attributes.Add("onclick", script);

I have used this method to open windows in the past and it has worked.  All instances of the rad window that are internal pages work fine, it is just for external sites.

Thank you in advance

1 Answer, 1 is accepted

Sort by
0
Chris Salas
Top achievements
Rank 1
answered on 19 Sep 2012, 08:22 PM
Disregard this, it appears that the application i am trying to frame as added some JS to prevent iframing:

<BODY onLoad="setErrorImg(); if (top != self) top.location = location"> 

Just needed to remove that.
Tags
Window
Asked by
Chris Salas
Top achievements
Rank 1
Answers by
Chris Salas
Top achievements
Rank 1
Share this question
or