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

Should Maximize, Minimize, Restore fire the Resize Event?

3 Answers 1148 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 21 Dec 2011, 09:26 PM
Bug or Feature?

3 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 22 Dec 2011, 10:13 AM
Any resizing of the window content area should fire the resize event, yes. It's a feature. The event can be used to reflow the window content, if necessary.

Greetings,
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
Dennis
Top achievements
Rank 1
answered on 27 Dec 2011, 11:42 PM
I'm running version Kendo UI v2011.3.1208 

the code for  sizingAction, minimize, and  maximize does not call trigger(RESIZE)

however the restore does call trigger(RESIZE)...

Is there a new version that I missed?


Thanks in advance...
0
Kamen Bundev
Telerik team
answered on 28 Dec 2011, 08:57 AM
Hello Dennis,

The maximize() method does call _onDocumentResize() which calls trigger(RESIZE). Minimize doesn't trigger resize event since it is not needed - the content is hidden in that state and not really resized.

All the best,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
Dennis
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Dennis
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or