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

Response.Redirect Not Working in RadWindow

0 Answers 181 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 18 Nov 2011, 04:58 PM
I have a RadWindow opened from a page. I need to do some server side code to build a link, then I'm trying to Response.Redirect to that link, but the window does not show the new page. If I add a link to the page and click it, I see the browser saying "loading <mypage>" but again, the radwindow does not display the new page. 

Here's my Radwindow:

<tlk:RadWindow ID="TwitterAuthDialog" runat="server"
VisibleTitlebar="true"
Title="Twitter Authentication"
VisibleStatusbar="false"
KeepInScreenBounds="true"
Overlay="false"
VisibleOnPageLoad="false"
Height="400" Width="575"
Animation="None" Modal="true"
Behaviors="Close"
NavigateUrl="twitter-authorization.aspx"   >
</tlk:RadWindow>

What is preventing the RadWindow from navigating to and displaying the new page on the redirect?

UPDATE: If the page is within my application it works, but if I try to load an external page it doesn't. In this case my page is building the Twitter Authorization link, which then redirects to the Twitter Authorization page, but it won;t show that. (Note: I've tried google.com and others, it's any external page that won't load. 

Why can't I load a page from outside my application into a radwindow?

UPDATE RESOLVED: 
This isn't an issue with the RadWindow. The page I am trying to load is prevented from being loaded in a frame. Since the RadWindow uses an iframe it can't be displayed. In this case I have to use a different method of creating the dialog window (which is unfortunate because its inconsistent with the rest of the site)

No answers yet. Maybe you can help?

Tags
Window
Asked by
Mike
Top achievements
Rank 1
Share this question
or