473,320 Members | 1,707 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.

submit another page before event button click fires

Hi,

I have a question: If I have a frameset, frame1 and frame2.
On frame2 I have a datagrid, on which I can add/update/delete rows.

If I submit that page, I catch these changes in events and update my
objects with it.

Now do I want a button in frame1, which does save. The problem is that
I first want to submit the page in frame2 to update my objects, before
the onClick event of my button occurs, which does the save of my
objects to the database.

So what I want is:
1 - CLick on button in frame1
2 - submit page frame2
3 - process events of page in frame2
4 - process events of page in frame1

Can anyone help me with this?

Gr.,

Robin
Nov 19 '05 #1
3 1720
this must all be done with client script.

1) on button click in frame 1 force submit of frame 2
2) in top frame catch body load of frame 2 and notify frame 1
3) in frame 1, when notified of frame 2 load, submit frame 1 form

its all pretty easy. its best to put all the controlling code in the
frameset page.

-- bruce (sqlwork.com)

"Robin" <Ro********@cgey.nl> wrote in message
news:3b**************************@posting.google.c om...
Hi,

I have a question: If I have a frameset, frame1 and frame2.
On frame2 I have a datagrid, on which I can add/update/delete rows.

If I submit that page, I catch these changes in events and update my
objects with it.

Now do I want a button in frame1, which does save. The problem is that
I first want to submit the page in frame2 to update my objects, before
the onClick event of my button occurs, which does the save of my
objects to the database.

So what I want is:
1 - CLick on button in frame1
2 - submit page frame2
3 - process events of page in frame2
4 - process events of page in frame1

Can anyone help me with this?

Gr.,

Robin

Nov 19 '05 #2
Bruce,

you make it sounds soooooo easy, but I really have no idea how to do
that... Can you give me an example?

Thanks,

Robin

Nov 19 '05 #3
Must you use FRAMESET?
Patrick
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #4

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

Similar topics

4
by: Bob Lehmann | last post by:
Hi, I pretty sure I've seen this problem addressed before, but I can't find any references. The short story is that I have I have multiple submit buttons on a page, each providing different...
2
by: 23s | last post by:
My site's login page has a form w/ 2 textboxes and a submit button. If I'm in either of those textboxes (i.e., either one of the textboxes has focus), in any given browser, hitting "enter" on my...
4
by: Bob Lehmann | last post by:
Hi, I pretty sure I've seen this problem addressed before, but I can't find any references. The short story is that I have I have multiple submit buttons on a page, each providing different...
16
by: NathyZif | last post by:
I know I know, why would I want to submit the form from server-side code, if the only way to get to the server-side code was BY submitting the form. But that's just it, when the code-behind...
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
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.