I use "getWindowBounds" to determine height of a radWindow in "On ClientCommand" event. The problem is that this returns the original size of "radWindow" but no the maximized one also on "Restore" I have the size before "Maximize". How can I get the read height?
2 Answers, 1 is accepted
0
Accepted
Georgi Tunev
Telerik team
answered on 26 Mar 2008, 04:38 PM
Hello Markus,
For this purpose I would suggest to use the ASP.NET AJAX mechanism for finding the current size of the elements:
var bounds = $telerik.getBounds(sender.get_popupElement());
alert(bounds.height + " " + bounds.width);