Div Content in Windows Maximized - Swaping

2 posts, 0 answers
  1. Gus
    Gus avatar
    29 posts
    Member since:
    Jan 2015

    Posted 19 Apr 2015 Link to this post

    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.

  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 22 Apr 2015 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top