HI,
How to Prevent refreshing parent page when window.open in server side? Help me
This is My function which i used in c#
private void openWindowScript1()
{
DateTime fromdate = Convert.ToDateTime(txtdate.Text);
DateTime todate = Convert.ToDateTime(txttodate.Text);
string myScript;
myScript = "<script>window.open('opdprint.aspx?fromdate=" + fromdate + "&todate=" + todate + "',null,'height=600, width=650,status= no, scrollbars=yes,toolbar=no,location=no,menubar=no,left=95,top=140'); window.location.href='opdrepo.aspx';</script>";
this.Page.RegisterStartupScript("JavaScript", myScript);
}
When I close popup window it refresh parent window. I dont want to refresh parent window