bayoglu
May 08, 2013, 3:26 PM
Hi,
I am dynamically creating a panel and loading another aspx into it's content as iFrame.
Sth. like this:
MyPanel = new Ext.Net.Panel();
MyPanel.ID = "MyPanel";
MyPanel.CustomConfig.Add(new ConfigItem { Name = "refreshMe", Mode = ParameterMode.Raw, Value = "true", Encode = false });
MyPanel.Loader = new ComponentLoader
{
Url = "/MyChild.aspx",
Mode = LoadMode.Frame,
LoadMask =
{
ShowMask = true,
Msg = "Loading..."
}
};
I want to access MyPanel.refreshMe custom config from the iFrame aspx page. For this, I met this (http://forums.ext.net/showthread.php?427) threat and tried using parent.window call. When I get MyPanel like this : "parent.window.MyPanel" it is not the Ext.Panel object and I have no access to MyPanel.refreshMe.
How can I access custom config of an iFrame content's parent panel? Is it possible at all?
Thanks.
I am dynamically creating a panel and loading another aspx into it's content as iFrame.
Sth. like this:
MyPanel = new Ext.Net.Panel();
MyPanel.ID = "MyPanel";
MyPanel.CustomConfig.Add(new ConfigItem { Name = "refreshMe", Mode = ParameterMode.Raw, Value = "true", Encode = false });
MyPanel.Loader = new ComponentLoader
{
Url = "/MyChild.aspx",
Mode = LoadMode.Frame,
LoadMask =
{
ShowMask = true,
Msg = "Loading..."
}
};
I want to access MyPanel.refreshMe custom config from the iFrame aspx page. For this, I met this (http://forums.ext.net/showthread.php?427) threat and tried using parent.window call. When I get MyPanel like this : "parent.window.MyPanel" it is not the Ext.Panel object and I have no access to MyPanel.refreshMe.
How can I access custom config of an iFrame content's parent panel? Is it possible at all?
Thanks.