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

Div Content in Windows Maximized - Swaping

1 Answer 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
Gus
Top achievements
Rank 2
Gus asked on 19 Apr 2015, 06:06 PM

Hello,

 

I have a iFrame with div to show a page, I need to add the button with full screen option to show the content of the div in windows maximized.

 

How I can show the content of the div in windows maximized with action button and when user close the windows return this contents of the main page (it is a swaping between content div in page to windows)?

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Apr 2015, 05:58 AM
Hi Gustavo,

Our documentation explains how to access the Window widget object from inside the iframe:

http://docs.telerik.com/kendo-ui/web/window/overview#using-iframes

Maximization is achieved via an API method:

http://docs.telerik.com/kendo-ui/api/javascript/ui/window#methods-maximize

Moving of the Window contents to the main page can be done in the close event:

http://docs.telerik.com/kendo-ui/api/javascript/ui/window#events-close

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Gus
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or