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

Resize Window from itself.

1 Answer 26 Views
Window
This is a migrated thread and some comments may be shown as answers.
Michael Hennessy
Top achievements
Rank 1
Michael Hennessy asked on 14 Mar 2014, 02:53 PM
Kendo windows is opened as an Iframe and window URL is on different domain. 
Is it possible for the window to resize from itself?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Mar 2014, 03:10 PM
Hello Michael,

Iframes do not resize, according to their content. If you want the Window widget to resize "automatically" in this case, you need to use the widget's refresh event to calculate the dimensions of the page inside the iframe, and set these to the Window wrapper element.

http://docs.telerik.com/kendo-ui/api/web/window#events-refresh

http://docs.kendoui.com/getting-started/web/window/overview#using-iframes

http://docs.telerik.com/kendo-ui/getting-started/widgets#accessing-kendo-ui-widget-elements

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
Michael Hennessy
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or