sujith
01-19-2007, 10:17 AM
ASP2.0
I am having following code in my parent.aspx
When one click on the LinkButton controll goes to child.aspx
Workes fine J.
<asp:LinkButton ID="lnkBtnAdd" runat="server" OnClientClick="OpenPopUp();">Add</asp:LinkButton><br />
And OpenPopUp() is as follws
function OpenPopUp()
{
window.open('child.aspx',null,'scrollbars=1,width=600,HEIGHT=400');
}
But really I am adding some products to a grid View in parent.aspx.
So when one press a button in child.aspx
I want the parent.aspx to be refreshed.
(such that all added products [in child] shuld show on parent)
How can I do that.
In short:I want to refresh/reload a page by clicking a button in another page
Hope u can help me
sujith
I am having following code in my parent.aspx
When one click on the LinkButton controll goes to child.aspx
Workes fine J.
<asp:LinkButton ID="lnkBtnAdd" runat="server" OnClientClick="OpenPopUp();">Add</asp:LinkButton><br />
And OpenPopUp() is as follws
function OpenPopUp()
{
window.open('child.aspx',null,'scrollbars=1,width=600,HEIGHT=400');
}
But really I am adding some products to a grid View in parent.aspx.
So when one press a button in child.aspx
I want the parent.aspx to be refreshed.
(such that all added products [in child] shuld show on parent)
How can I do that.
In short:I want to refresh/reload a page by clicking a button in another page
Hope u can help me
sujith