views:

15

answers:

0

Hi I'm working with a simple application in asp.net (c#). In my page1 I've a load button in that load button click event I try to open another window. In my second window I've a button If I click on that button my intension is to reload parent page (i.e page1). So I try to use this script

scriptString = " window.opener.location.href = myparentpage; window.opener.document.getElementById('ValidationSummary1').style.display='none';";

Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "script", scriptString);

But it is not working in Safari.

Is there any solution?