4 Answers, 1 is accepted
0
Hi Justin,
Alex Gyoshev
the Telerik team
Assuming that you get the window object like this:
var kendoWindow = $("#Window1").data("kendoWindow");
There is the wrapper property that holds the window wrapping element (jQuery object) that determines the window position and size:
kendoWindow.wrapper.css({
width: 100,
height: 300
});
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rikin Patel
Top achievements
Rank 1
answered on 29 Oct 2012, 06:57 AM
thanks work fine but after resize window is not center of screen like at initial open window so, how can do it....?
0
Rikin Patel
Top achievements
Rank 1
answered on 29 Oct 2012, 06:59 AM
try this
kendoWindow.center();
kendoWindow.center();
0
Mark
Top achievements
Rank 1
answered on 06 Nov 2012, 12:08 AM
How do you get the new height and width after a user re-sizes the window? I want to be able to dynamically adjust content inside the window based on the size of window. Is this possible?