473,320 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Trigger Button1_ServerClick event from a popup form...

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.

--
rmorvay

Nov 16 '05 #1
2 1741
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.

--
rmorvay
"rmorvay" <ad*************@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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.

--
rmorvay

Nov 16 '05 #2
You will need some javascript in the close event of the popup page. Look for
DOM and parent property.

Sunny

rmorvay wrote:
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.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Mike Gratee | last post by:
Is it possible to use JavaScript to cause the browser to click a link on a page and have the browser act exactly like the user had clicked on the link directly? In other words, I need to...
3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
1
by: Earl Teigrob | last post by:
I did a ton of searching to try and find a simple solution to this issue and finally wrote my own, which I am sharing with everyone. In my searching, I did find a very complete and robust solution at...
3
by: rmorvay | last post by:
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. ...
5
by: Andy Fish | last post by:
Hi, I have an asp.net web application which uses a pop-up form that works a bit like a dialog box. when the user clicks "OK" it does a postback (basically a form post if you don't know .net) to...
3
by: RahimAsif | last post by:
I am writing an application that requires the a portion of the main menu to be dynamic. The menu has file, panels, view files and help across the top. The view files sub menu needs to be...
2
by: Sally B. | last post by:
Hi, I have a main page that opens a pop up window when the user clicks a link. The pop up window is a menu and when the user clicks the item, it populates a form input element on the 'parent'...
2
by: Tom_F | last post by:
To comp.databases.ms-access -- I would like to trigger an event when I close a form -- but ONLY when the data in the "RecordSource" table has been updated. I tried using the AfterUpdate event,...
2
by: Alan Mailer | last post by:
Ok, I'm pretty new to VB.Net, so please bear with me. Imagine the Load event of one of my forms includes the following: Dim ctrl as Control Dim txtbox As TextBox For Each ctrl In Me.Controls...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.