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. Once the edit page is
closed, I need to trigger the search button click event in order to refresh
the datagrid with the original search criteria. I cannot figure out how to
trigger the Button1_ServerC lick 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 3 1626
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******** ********@TK2MSF TNGP11.phx.gbl. .. 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. Once the edit page is closed, I need to trigger the search button click event in order to
refresh the datagrid with the original search criteria. I cannot figure out how
to trigger the Button1_ServerC lick 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
Hi 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.
Probably because you ask this in a general language vb newsgroup while there
is for the asp.net datagrid a special newsgroup where people more
specialized in that are active
microsoft.publi c.dotnet.aspnet .datagridcontro l.
I hope you find your solution maybe there?
Cor
Thanks. I wasn't aware of the other group. I will give it a shot there as
well.
--
rmorvay
"Cor Ligthert" <no**********@p lanet.nl> wrote in message
news:Or******** ********@tk2msf tngp13.phx.gbl. .. Hi 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.
Probably because you ask this in a general language vb newsgroup while
there is for the asp.net datagrid a special newsgroup where people more specialized in that are active
microsoft.publi c.dotnet.aspnet .datagridcontro l.
I hope you find your solution maybe there?
Cor
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 programmatically issue a JavaScript statement
which causes the browser to act just like the user clicked on a link in my
page. And if that link has an onClick JS event defined, I'd want that
onClick event to execute too, exactly the same as if the user...
|
by: rmorvay |
last post by:
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...
|
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 IsPostBack=False by now!. The ASPX is opened via client
side script (into an iFrame) inside a .HTM file (as ASPX postback causes
problems in a modal internet explorer dialog if not in an iFrame!)
Anyone know how to get around this - i need to...
|
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
http://weblogs.asp.net/asmith/archive/2003/09/15/27684.aspx
but it was far more complex then I needed. (I got lost trying to figure it all out). Therefore, here goes my simple "web dialog box with parent event handler fireing" solution.
...
|
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 save the contents of the form, and then
I put an onload event to do a window.close.
this works fine for hundreds of people on different browsers. However, for
one user the window does not close.
| |
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 dynamically
generated, and the dynamic generation needs to occur right when the
user selects this menu item (that is on the Popup event handler).
However, everytime I put following code on the Popup event handler (of
the View Files menuitem) to dynamically...
|
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' window.
My question is: this new populated form element is the value that I use
to change a style.
onchange does not watch this form element because of getelementbyid, so
|
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, but it fires multiple times when the form is
closed ... and I only want my event to be triggered once. Could
someone tell me a good way to do this? I'm using Microsoft Access
2003. Thanks very much!
--Tom
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |