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

Window Open shows actual page but not target page

1 Answer 36 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Roland asked on 13 Feb 2009, 10:27 AM

i am using Rad Window to display an other aspx site, this action is fired on a button Click Event. The Problem is when i Click on the button the Window pops up, but display the page in which the button is located. Here is my source code

Ajax Settings

<asp:ScriptManagerProxy ID="SM_Login" runat="server" /> 
<telerik:RadAjaxManagerProxy ID="RAM_Login" runat="server"
<telerik:AjaxSetting AjaxControlID="btnRequestAccount"
<telerik:AjaxUpdatedControl ControlID="btnRequestAccount" /> 
<telerik:AjaxUpdatedControl ControlID="AccountRequest" /> 

JavaShript Code

<script type="text/javascript"
function ShowRequestAccount() 
    return false;  

Window Declaration

 <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista"
            <telerik:RadWindow Skin="Vista" ID="AccountRequest" runat="server" Title="Request Account" Height="400px" 
                        Width="300px" Left="150px" ReloadOnShow="true" Modal="true" /> 

Event Registratio

btnRequestAccount.Attributes.Add("onclick","return ShowRequestAccount();"); 

I tried to load different websites in my solution none of them werde displayed, when i enter the google url, then it works. Could you please help me to solve this problem.


1 Answer, 1 is accepted

Sort by
Georgi Tunev
Telerik team
answered on 13 Feb 2009, 01:20 PM
Hi Martin,

It seems that the problem here is not with the RadWindow control, but with your security logic. Could you please try the following:
1. add an IFRAME to the page where the RadWindowManager is:
<iframe id="myframe"></iframe>

2. change your function like this:
function ShowRequestAccount() 
    document.getElementById("myframe").src = "Support.aspx";  
    return false

3. Click the button and see what page will be loaded in the IFRAME.

If you don't experience the same behavior, please reproduce the problem in a small sample project and send it to us in a support ticket. We will check it and do our best to help.

Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Asked by
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question