[20005] Communication between 2 webforms.
I have a webform that has a hyperlink button that calls a javascript function to open a small window with another webform loaded in it. When a button is clicked on that form I would like it to close the pop up and refresh a datagrid on the first webform. How can I have this kind of communication between webforms ? What is this process called and where can I read more about it?
Thanks a bunch.
P.S. Using IE6
Re: [20005] Communication between 2 webforms.
Since you seem eager to find out on your own, two things for you to do.
One, to communicate with the parent window, search for window.opener in javascript.
Second, to dynamically pass values back to the parent, you will need to generate the javascript from the codebehind. For that, use Page.RegisterStartupScript and Page.RegisterClientScriptBlock.