Trigger Button1_ServerClick event from a popup form...

R

rmorvay

Do to the complexities of the amount of data that I have in a single record
for a datagrid, I allow users to click a datagrid row and it spawns another
browser page to allow edits to the data in that row. Once they update the
data, it is committed to the database and the form is closed. I need to
refresh the calling page by triggering the Search button's event in order to
refresh the page properly with the updated info and utilizing the search
that initiated the loading of the grid results. I cannot figure out how to
trigger the Button1_ServerClick event of the main page from the called popup
page before I close the popup page. I tried to use a delegate but the
calling page is referenced via a hyperlink and I cannot trap the event that
calls the page to get a handle before the page is loaded. I hope this makes
sense. Regardless, trying to keep it simple. How do you trigger an event
on one form from another form.

Thanks in advance.
 
R

rmorvay

Wow, either this is too complex to answer or I didn't make any sense in my
question. Still hoping some sharp developer out there can help me with this
issue.

Thanks in advance.
 
S

Sunny

You will need some javascript in the close event of the popup page. Look for
DOM and parent property.

Sunny
 

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