Window content dissapear

9 posts, 0 answers
  1. Jose Gimenez Soriano
    Jose Gimenez Soriano avatar
    21 posts
    Member since:
    Sep 2007

    Posted 03 Dec 2007 Link to this post

    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?
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 05 Dec 2007 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Valery
    Valery avatar
    45 posts
    Member since:
    Nov 2008

    Posted 27 Feb 2010 Link to this post

    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.
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 01 Mar 2010 Link to this post

    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.
  6. Valery
    Valery avatar
    45 posts
    Member since:
    Nov 2008

    Posted 06 Mar 2010 Link to this post

    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?
  7. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 Mar 2010 Link to this post

    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.
  8. Valery
    Valery avatar
    45 posts
    Member since:
    Nov 2008

    Posted 10 Mar 2010 Link to this post

    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.
  9. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 15 Mar 2010 Link to this post


    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.
  10. New Roc web-development
    New Roc web-development avatar
    2 posts
    Member since:
    Sep 2012

    Posted 20 Feb 2014 Link to this post

    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?
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017