Hi I having a problem with calling the parent method from child form. I am working on an asp .net application.
I place the code below under the hyplinkcontrol as the navigation url. And it do open a new window.
And in the child form i coded this to call the parent method.
The parent method will direct itself and reload with fields accordingly
The problem is that when I run the code it doesn't call the parent code. May I know how to solve this problem? Thank you
I place the code below under the hyplinkcontrol as the navigation url. And it do open a new window.
Code:
javascript:theWin=window.open('AssetType_Popup.aspx);theWin.focus
Code:
Response.Write("<script>opener.Postback('Insert'," + Request.QueryString("AssetTypeCode") + ");</script>")
Code:
function Postback(operation,code) { self.location.href = 'AssetType_Main.aspx?Reload='+ operation + '&AssetTypeCode=' + code; }
The problem is that when I run the code it doesn't call the parent code. May I know how to solve this problem? Thank you
Comment