how to refresh an existing webfrom from another

G

Guest

Hello
I have two questions
1. I have a webform A, which by clicking on certain control, i open in a new window a webform B
I want, when the webform B is closed, to refresh (Page_Load ? ) the webform A
How can I achieve this

2. How do i disable the X (close) button in the browser upper right corner, or how do i catch the event of it

Thanks in advance for any help
 
G

Guest

When you close webformB write the following client scrip

window.opener.document.forms[0].submit()

Thanx

Nimish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top