I have a Kendo Grid that is formatted to edit in a popup window with a custom template:
.Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("MyEditor").Window(w => w.Resizable().Events(e => e.Resize("popupResize"))))
That popup edit window template ("MyTemplate") has multiple controls on it which includes a Kendo TabStrip. One of the tabstrip items contains another Kendo Grid. Depending on the datasource of that grid, the width and height of the popup window may change. This may even take the edit popup window partially off the screen.
The problem is that the Resize event (which I'm subscribing to as shown above) of the grid popup window doesn't fire when the window's size changes due to changes in the content. It only fires if the user resizes the window with their mouse.
Is there a way to know when the content width/height of a popup edit window changes so I can call the center() method on the edit popup window?