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

Keeping IFrames Visible

4 Answers 73 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ashley Moss
Top achievements
Rank 1
Ashley Moss asked on 23 Sep 2008, 03:04 PM
Is it possible to override the functionality that currently hides all iFrames when a RadWindow is moved or resized?

Also, I've noticed that the RadWindow that displays the "Release Notes" on the purchases page displays a grey object when dragging or resizing instead of hiding the contents, but I can't find where to activate this functionality in the documentation. Is there a parameter to enable this mode or is it a specific build for the site?

Thanks,

Martin.

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 24 Sep 2008, 11:44 AM
Hello Ashley,

The RadWindow that is used in the Release History part is RadWindow for ASP.NET where the logic and the mechanism are different than RadWindow for ASP.NET AJAX that you are using.

We are hiding the IFRAME because it contain a different document that catches the mouse events independently of the main page. It has to be hidden when you move or resize the RadWindow because otherwise it will catch the mouse events and you will not be able to move/resize the RadWindow. If you want we can provide you with code which will not hide the IFRAME while manipulating the RadWindow but we do not recommend to use it because of the above explained problem.



Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
James Lance
Top achievements
Rank 1
answered on 24 Sep 2008, 07:01 PM
I am interested in this as well. Not so much hiding the IFrame in the Window itself, but I have another IFrame "below" the RadWindow. This does not need to be hidden, because the modal div covers it and receives the mouse movements.
0
Tervel
Telerik team
answered on 26 Sep 2008, 08:12 AM
Hello James,

The way the mechanism works at present is to hide all IFRAMEs, because the move/resize mechanism does not currently discriminate between modal and non-modal windows.
In your case, if your window was not modal, you would face the very same problem with your other IFRAME - it would catch the mouse events.

That said, using a transparent overlay to put on top of other iframes is exactly the approach that looks promising, and we have logged it for research and implementation. At this point I am not able to give you an ETA for this feature, but if it is implemented successfully it will greatly enhance the appeal and smoothness of RadWindow usage - so we have set it with a high priority.


Greetings,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
James Lance
Top achievements
Rank 1
answered on 26 Sep 2008, 03:20 PM
My stopgap solution is to override the behavior using
Telerik.Web.UI.ResizeExtender.prototype._setIframesVisible = function(vis) { this._jsOwner._iframe.style.visibility = vis ? "" : "hidden"; }; 
before showing the modal dialog, and then restoring the original function after it is closed.
Tags
Window
Asked by
Ashley Moss
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
James Lance
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or