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

RadWindow replaces parent in stead of showing pop-up

2 Answers 20 Views
Window
This is a migrated thread and some comments may be shown as answers.
Roel
Top achievements
Rank 1
Roel asked on 11 Jan 2019, 11:39 AM

Hello,

I am using Telerik 2012 Q3 (.NET40) in a web application. The last few months, I am getting occasional bug reports about broken functionality. I have been able to trace this down to a radWindow not opening in a pop-up, but in fact replacing the complete page. Users claim they open the page by clicking the designated button and this is confirmed by the URL in the address bar, showing a query string like ?rwndrnd=0.8599367708780101. For them, the bug occurs sometimes.

So far, I have not been able to reproduce this issue. Users reporting it, all seem to be using Internet Explorer 11. The start of this bug may or may not be related to the upgrade of the web application, or the introduction of a newer version of Internet Explorer. It is hard to find out. I have seen a report in which a javascript error was in the Console, of some unrelated code.

Unfortunately, I cannot point to the actual web application, as it is non-public.

Has this behaviour been seen before and is there a solution to it?

I use the following code to open the radWindow:

function OpenForNewCase() {
var oManager = $find('<%= RadWindowManager1.ClientID %>');
var oWnd = oManager.GetWindowByName("wndNewCase");
oWnd.SetUrl('<%= ResolveClientUrl("Forms/NewCase.aspx") %>');
oWnd.Show();
}

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 14 Jan 2019, 01:48 PM
Hi Roel,

The most likely reason for such behavior is that the page opened in the RadWindow has some form of a frame buster that makes it break out from the frame. Alternatively, a browser extension or bug may also be causing such behavior. RadWindow does not do that on its own and there have been no bugs related to such behavior in it.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Roel
Top achievements
Rank 1
answered on 08 Apr 2019, 11:05 AM

Mystery solved.

My users failed to include some quite relevant information: they had their sessions expired and needed to login again.

So, they had left the pop-up window open for a long time. After completing the form and posting it, they received a login form in the pop-up. After filling it out and posting that form, the main browser window was filled with the page that normally loads in the pop-up.

I have not dug any deeper, as I had already created a work-around: when posting that page from the main window, I redirect to an overview page, preventing the users from commiting it multiple times.

Tags
Window
Asked by
Roel
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Roel
Top achievements
Rank 1
Share this question
or