Updating the parent ASP.NET page with JavaScript?

here is my problem: I have an ASP.NET application. The app has a page (page A) that displays the second page (page B). Page b is a simple form that populates the DataGrid that is on page A. I have tried many approaches (IDisposable, creating methods for this ...), but it doesn’t work properly for me. I've been looking at it now and I'm sure the correct way to do it is to use javaScript, but I'm not that expert in this technology. I wonder if anyone can point me to a solution (JavaScript or not) or point me to an article that might make me understand the preview better.

Thanks a lot for helping guys !!!!! Greetings

0


a source to share


1 answer


Not 100% sure if this is what you are asking for, but you can update the parent page with javascript like this.

window.opener.location.reload();

      

and then



window.close();

      

to close the second window

+1


a source







All Articles