PDA

View Full Version : [CLOSED] Call directMethod in ext:window Content



supera
Feb 20, 2012, 6:45 PM
Hi!

I have a ext:Window in my MainPage and in this ext:Window I am loading a Form Detail aspx page.
I wish call a DirectMethod in this Form Detail Page, loaded in ext:window.
Its possible? How I do?

Daniil
Feb 20, 2012, 6:51 PM
Hi,

Calling a child page DirectMethod from a parent page.

Window1.getBody().Ext.net.DirectMethods.SomeDirect Method();

Calling a parent page DirectMethod from a child page.

parent.Ext.net.DirectMethods.SomeDirectMethod();

supera
Feb 20, 2012, 7:51 PM
Hi Daniil

Works fine! Thanks a lot.