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

Window content dissapear

8 Answers 140 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jose Gimenez Soriano
Top achievements
Rank 1
Jose Gimenez Soriano asked on 03 Dec 2007, 11:46 PM
Is there any way to avoid that the windows content becomes white (E.J: radwindow manager example on teleriks page),  when you have more than one window on the screen and you move it from it's original position while you are moving it?

8 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 05 Dec 2007, 02:26 PM
Hi Jose,

This cannot be avoided. The reason for this is that when you move RadWindow "Prometheus" you are moving the whole object (not only a DIV like in the case with the classic RadWindow control) - this means that if the IFRAME with the content in it is visible while you are dragging it. Now if your mouse move above the IFRAME while dragging - it can happen if you move the mouse too quickly - the IFRAME will intercept the mouse's event which will lead to inconsistent results. That is why when a RadWindow is being dragged we hide the IFRAME and you see a blank screen inside the RadWindow.



Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Valery
Top achievements
Rank 2
answered on 27 Feb 2010, 05:17 PM
Hi there,

I know that was more than two years ago but people keep asking it and customers keep complaining about that. And this issue hasn't been addressed yet.

When a customer comes in and asks me why they can't see the content while trying to amend windows' size I obviously can't answer: "Well... you know... the IFRAME will intercept the mouse's event which will lead to inconsistent results." unless they speak the Java script language. Not my case unfortunately.

Isn't it possible to for example create an absolute positioned transparent DIV in each window and change it's z-index to the maximum possible value when dragging/resizing windows (instead of simply hiding the corresponging IFrame)?

Thank you in advance,
Valery.
0
Georgi Tunev
Telerik team
answered on 01 Mar 2010, 11:23 AM
Hello Valery,

Actually, this is exactly what we did in Q1 2010 BETA (we released it 2 weeks ago and the official version will be out next week). In the new version, when a RadWindow is being moved or resized, we basically use such transparent DIV to cover the content frame of the active RadWindow. Note however, that we still hide the rest of the IFRAMEs on that page.


Kind regards,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Valery
Top achievements
Rank 2
answered on 06 Mar 2010, 08:31 PM
Unfortunately our customer is not satisfied with this solution either and I had to switch to using undocked RadDock where resizing and moving seems to be possible without hiding any content even. Which leads me to the question of why such race condition wouldn't happen in undocked RadDock's? And another one... Isn't this unwanted effect achievable while moving the window over the browser window?.. And does this have anything to do with random issues appearing when moving the window very fast around a restriction zone?
0
Georgi Tunev
Telerik team
answered on 10 Mar 2010, 03:44 PM
Hello Valery,

Straight to your questions:
  • It doesn't happen because RadDock and RadToolTip are not based on an IFRAME like RadWindow. The logic that disables the IFRAMEs is applied only to the RadWindow control.
  • I am not quite sure what exactly you mean by "moving the window over the browser window" - unlike the standard popups (window.open), RadWindow cannot be moved outside of the browser's window - it exists only in the context of the page in which it is created.
  • Could you please provide more information about the problem with the Restriction zone?

It will be best to open a support ticket and to send us a small sample where the problems that you experience could be reproduced along with step-by-step instructions and if possible - some screenshots or video capture (you could use Jing for that purpose) of the observed behavior. This way we will have a better view over your scenario.

All the best,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Valery
Top achievements
Rank 2
answered on 10 Mar 2010, 03:57 PM
In fact I've answered my (turned-out-to-be stupid) question about the browser window. :) What I meant actually was why aren't you hiding the browser window content while moving RadWindow's around...

I'll try to prepare a demo for you as soon as I come up with something reproducible.

Thank you,
Valery.
0
Georgi Tunev
Telerik team
answered on 15 Mar 2010, 10:52 AM

OK,  Valery - we will be expecting your project. Once we receive it, we will check it and get back to you as soon as possible.



Best wishes,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
New Roc web-development
Top achievements
Rank 1
answered on 20 Feb 2014, 09:08 PM
This is what I did a long time ago in 2010 version of Telerik.
Hook onWindowDragStart function to OnClientDragStart client event of RadWindowManager (if it still exist).

function onWindowDragStart(oWin, args) {
    var resizeExtender = oWin._resizeExtender;
    resizeExtender.set_hideIframes(false);
}

Cool, huh?
Tags
Window
Asked by
Jose Gimenez Soriano
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Valery
Top achievements
Rank 2
New Roc web-development
Top achievements
Rank 1
Share this question
or