473,386 Members | 1,962 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,386 software developers and data experts.

Page_Load on Source Page Firing on Cross-Page Postback

I have two pages that that cross post to each other:

Page1 has a form
Page2 verifies the form entries before posting to a DB

If the user sees problems with their entries they can click an Edit
button that will send them back to Page1.

When I click the edit button on page2 I get a runtime error as it tries
to evaluate the page2 Page_Load.

This happens the other way as well. The Page_Load for page1 runs when
posting to page2 and page.IsCrossPagePostBack = True in the page1
Page_Load Event Handler.

Any insight?

Sep 19 '06 #1
0 1116

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

Similar topics

12
by: Christoph Bergmann | last post by:
Hi... We want to write an open source web based TEXT editor and would be happy about any help ;-) Please notice: We do NOT want to write a web based WEB editor, where you can edit a web...
3
by: arc | last post by:
I have a server object that performs zipcode validation based on zipcode entered in the web form. Ideally this should work as follows: Once the zip code is entered in the edit box it should...
5
by: Brad | last post by:
I have web user controls (ascx files) in multiple support assemblies; I'm building on a Commerce Server SDK sample. My problem is that the code behind Page_Load event is never getting called for...
0
by: H Branyan | last post by:
I have a user control and its Page_Load event is firing twice. I have consulted articles such as this one: http://www.extremeexperts.com/Net/FAQ/PageLoadFiringTwice.aspx This article...
1
by: Craig Miles | last post by:
Hi, I have Form1.aspx. Form1 uses client side javascript to launch Form2.aspx when a button is clicked: window.showModalDialog("Form2.aspx?xxxxx=xxxx") etc. The first time the Form1 button is...
4
by: Ed | last post by:
Has anyone seen this one? I have a situation where code in my page_load event is firing twice for mozilla firefox users. Everything is fine in IE6. I set breakpoints and verified. The second time...
2
by: David Thielen | last post by:
Hi; The examples I have seen all use "if (IsPostBack) { ... }" to handle an action when the user presses the submit button. However, it seems to me a more object oriented approach is to use a...
2
by: Dave | last post by:
Hi, this is a follow-up to an earlier question but I really haven't found a definitive answer in my search If I have a Base and Derived webform, I've found that the dervived Page_Load event...
2
by: Sosh | last post by:
Hi, Could anybody suggest a reason why the Page_Load method is not happening in a dynamically loaded user control? (All of the content from the ascx is being displayed though). Thanks
3
by: Dean Earley | last post by:
Has anyone had the NodeClick event not firing in VB6 with the VB5 Treeview control? It fires correctly when using the cursor keys to select nodes but there is nothing when i click a node. It...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...

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.