Win._frame is undefined

According to other posts I should be able to access an iframe inside of a window using win._frame. But in onResizeFinish event handler of dhtmlXWindows instance it is undefined.

dhtmlxwindows.js v.2.6 build 100722 (professional version)

I see a bunch of sections where _frame is used commented out in the source file.

I’d like to call onResize() method defined inside of an iframe (same domain) from its parent page when containing window is resized.

Thanks!

After paying more attention to other topics found an answer myself.

win.getView()._frame seams to work fine.

Thanks for your post! I was very frustrated for quite some time, having seen several posts not so old that stated the access was win._frame…

There is also getFrame() method that returns an iframe object:

win.getFrame()