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

Applet overlay on window

20 Answers 277 Views
Window
This is a migrated thread and some comments may be shown as answers.
Alex Dybenko
Top achievements
Rank 2
Alex Dybenko asked on 11 Mar 2008, 02:09 PM
Hi,
i have a java applet on rad window, and if i place one more window above it - then window structure (title/border) are hidden below applet, while window content is above. Tried to play with zindex and overlay - but no luck. Any hints how to fix this?

Thanks
Alex

20 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 13 Mar 2008, 03:47 PM
Hello Alex,

I am afraid this is not possible - the Java applet is a heavy-weight object which will be displayed over any other element on the page. We tried to fix the problem on our side but to no avail - the titlebar, statusbar and the borders of the RadWindow cannot be displayed over the applet.




Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alex Dybenko
Top achievements
Rank 2
answered on 13 Mar 2008, 04:31 PM
Hi Georgi,
actually it worked fine in previous, non-promethues verison.
So, is it related to prometheus version only, right?

Alex
0
Georgi Tunev
Telerik team
answered on 14 Mar 2008, 02:45 PM
Hello Alex,

If you are using the latest version of the RadWindow Prometheus control and you have set the Overlay property to true, you should experience the same behavior as with the classic version - I apologize for not mentioning this in my reply. However there will still be problems in some scenarios where you drag and drop / resize the RadWindow over the applet - these were the problems I referred to in my previous reply.

I apologize for the misunderstanding.


Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alex Dybenko
Top achievements
Rank 2
answered on 17 Mar 2008, 01:59 PM
Hi Georgi,
i think i have a latest version - 1425, but overlay dies not help. But i found something new - if you pin on/off window - then it starts to work fine, like expected. So looks like something wrong there, can you check this once more?

Alex
0
Georgi Tunev
Telerik team
answered on 20 Mar 2008, 09:28 AM
Hello Alex,

I tried pinning on/off the window, but I didn't noticed any differences in the RadWindow behavior. Is it possible for you to send me a small movie that shows the behavior on your side along with the code that you are using?

In general, the difference between the classic and the ASP.NET AJAX versions of RadWindow is that in the AJAX one, you are moving the RadWindow itself, while in RadWindow for ASP.NET, you are moving a DIV only. When you release the mouse, the object goes behind the applet as expected - in the classic RadWindow however, we are using our own mechanism for detecting that. With RadWindow Prometheus however, we are using the MS AJAX mechanism.

I talked with our Dev team and we manage to come up with custom solution that I hope would fit your requirements. Please check the attached sample and the movie that shows the behavior - you will notice that there are some side effects which are due to the nature of the applet object, but it is the best solution that we can provide.



Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alex Dybenko
Top achievements
Rank 2
answered on 21 Mar 2008, 09:29 AM
Hi Georgi,
first of all - thanks for your great support!
Have tried your custom solution, but not sure i found any difference. actually the problem not in moving, but when windows are placed one over another.

ok, pls have a look at my video:
http://www.pointltd.com/video/TelerikWindow/Window.html

it is not necessary to have applet in blue window. As you see that when blue window is placed over black one - border and header is gone, but when you pin/unpin - it get visible, after move also.
applet is from www.daeja.com
Hopefully you will reproduce this, and perhaps find some solution

Thanks
Alex
0
Georgi Tunev
Telerik team
answered on 24 Mar 2008, 11:34 AM
Hi Alex,

I tried to reproduce your setup but I am unable to reproduce the same result as the one in your movie. Can you please open a support ticket and send me a sample project where this behavior can be observed?



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alex Dybenko
Top achievements
Rank 2
answered on 25 Mar 2008, 05:14 PM
Hi Georgi,
submitted a ticket # 128517

Alex
0
Georgi Tunev
Telerik team
answered on 26 Mar 2008, 09:10 AM
Thank you Alex,


I will check it and get back to you as soon as possible.




All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Darius
Top achievements
Rank 1
answered on 27 Jun 2008, 07:02 PM
Hi, I have the same problem with video in one RadWindow overlaying content in another RadWindow. Is there a solution? Thanks.

--DT
0
Georgi Tunev
Telerik team
answered on 30 Jun 2008, 04:30 PM
Hi Darius,

Have you set the Overlay property to true? If this doesn't help, please open a support ticket and send us a small sample project which reproduces the problem and I will check it right away.



Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Darius
Top achievements
Rank 1
answered on 30 Jun 2008, 04:57 PM
Yes, I have, and it didn't help. But this did:

<

param name="windowlessVideo" value="true" />

--DT

0
John Snyder
Top achievements
Rank 1
answered on 08 Sep 2008, 02:22 PM
Have you guys figured out a solution to this?  I have the same thing happening when opening PDF documents in the new windows.  I open one document and everything is fine.  When I open a second document then the title bar of the current rad window is hidden behind the PDF document of the first RAD window (much like the video shown above).  Do you have a hotfix or suggested solution for this?$0$0$0$0Also, I would like to use the minimize zone but when I do this with a PDF the PDF does not restore when you restore the window from a minimized zone.  If you don't use a minimize zone it works fine.  I would also like some sort of fix for this.  I am currently using Q1 2008 version of ASP.Net AJAX.$0
0
Georgi Tunev
Telerik team
answered on 09 Sep 2008, 09:06 AM
Hi Dustin DeFoe,

Basically, when we minimize the window in a zone, the window's object is moved in the DOM tree and it seems that the browser cannot handle that scenario well.

I would suggest to reload the content when restoring the window - this way you will avoid that problem:
<form id="form1" runat="server"
    <div id="MinimizeDiv" style="border: 1px solid red; width: 100%"
        &nbsp;</div> 
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
 
    <script type="text/javascript"
    function OnClientCommand(sender, eventArgs)   
     {   
        if(eventArgs._commandName == "Restore")   
        {   
            sender.setUrl(sender.get_navigateUrl());    
        }   
     }   
    </script> 
 
    <telerik:RadWindow ID="RadWindow1" OnClientCommand="OnClientCommand" runat="server" 
        NavigateUrl="test.pdf" VisibleOnPageLoad="true" MinimizeZoneID="MinimizeDiv"
    </telerik:RadWindow> 
</form> 


As for the PDF reader that overlaps RadWindow's elements - this is because browsers display the PDF reader above all other DHTML elements on the page. We have researched the issue but at this point we are not aware of any way in which this behavior can be changed.


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Craig
Top achievements
Rank 1
answered on 08 Oct 2008, 06:35 AM
We have a similar issue where we have a Java applet in one part of the window and when you show a radWindow and drag it over the Java applet parts of the radWindow like the header and footer go behind the applet when you release it.

There is a simple fix for this which is to create a blank iframe the same size as your dialog and place it behind the main div of the dialog (i.e. at a slightly lower z-index).  This effectively masks out everything in the underlying page(s), including Java applets.  Obviously the iframe then needs to be moved and resized with the dialog but that's only a few lines of code.

I'm happy to provide some sample code if it will help.

Actually, this might be a resolution to the problem of dragging/resizing dialogs that are over iframes - put a transparent iframe over the whole window but below the dialog and bubble the mouse events back to the dialog (would only work for modal windows of course).

0
Craig
Top achievements
Rank 1
answered on 15 Oct 2008, 04:07 AM
Georgi Tunev said


I am afraid this is not possible - the Java applet is a heavy-weight object which will be displayed over any other element on the page. We tried to fix the problem on our side but to no avail - the titlebar, statusbar and the borders of the RadWindow cannot be displayed over the applet.



As I mentioned in my previous post, this is not true and there is a simple solution, which is to put an iframe below the RadWindow that is the same size and position as the window but with a slightly lower z-index.  You can see that this works because the content area of the RadWindow is an iframe itself, and the applet doesn't show through.

Can someone at Telerik please look into adding this functionality as without it we cannot use Telerik RadWindow in our application. 

0
Georgi Tunev
Telerik team
answered on 16 Oct 2008, 02:11 PM
Hi Craig,

We have a similar solution that we are planning to introduce for RadWindow to improve the behavior of the control in such scenarios, but we will gladly check your solution as well. Please open a support ticket and send us a small sample project that shows the problem that you experience and the solution that you have found. We will examine them and get back to you right away.




Kind regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ramesh Bellampalli
Top achievements
Rank 1
answered on 09 Oct 2009, 08:44 AM
Radwindow works fine in IE 6 without any issues i.e. over lay conent with another but it doesn't work in IE 7?

Any ideas please?
0
Ramesh Bellampalli
Top achievements
Rank 1
answered on 12 Oct 2009, 07:02 AM
Hi Craig,

we are facing same issue Radwindow overlays with another Radwindow.would you please provide sample code for this fix ?

Note:Its working fine with IE 6 but doesn't work in IE 7.
0
Georgi Tunev
Telerik team
answered on 13 Oct 2009, 07:08 AM
Hello Ramesh,

Please find attached a small sample that shows how to ensure that the window will be correctly displayed over Java applet.



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Alex Dybenko
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Alex Dybenko
Top achievements
Rank 2
Darius
Top achievements
Rank 1
John Snyder
Top achievements
Rank 1
Craig
Top achievements
Rank 1
Ramesh Bellampalli
Top achievements
Rank 1
Share this question
or