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

ASP.NET 2005 Postback Madness

Greetings,

We have a very large web application (300+ pages) (insurance software) that
was ported from ASP.NET 1.1 to 2.0 via the Web Application Project add-in.
There are some pages that the postbacks inexplicably don't function as
intended. What happens is the postbacks do one of two things: 1) they act
like a redirect and request the same page losing the query string parameters
and the IsPostBack registers as false or 2) the attempt to do a proper
postback but the ASP.NET engine throws an exception stating something to the
effect of there not being a postback event handler or something (I don't
remember the details).

With regards to #1, the only way to correct the problem I've found thus far
is to create the page from scratch and not copy/paste any of the HTML. But
that isn't feasible, there are too many pages and these pages are
complicated pieces of "art" such that it is impracticle to rewrite the
entire application.

Does anyone here know what the cause of the problem is and perhaps a better
way to solve it?
Thanks,
Shawn
Nov 2 '06 #1
3 1016
Consider the web application project (www.asp.net) with 1.1 apps going to
2.0. It compiles the same way and reduces issues.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Shawn B." <le****@html.comwrote in message
news:ex**************@TK2MSFTNGP04.phx.gbl...
Greetings,

We have a very large web application (300+ pages) (insurance software)
that was ported from ASP.NET 1.1 to 2.0 via the Web Application Project
add-in. There are some pages that the postbacks inexplicably don't
function as intended. What happens is the postbacks do one of two things:
1) they act like a redirect and request the same page losing the query
string parameters and the IsPostBack registers as false or 2) the attempt
to do a proper postback but the ASP.NET engine throws an exception stating
something to the effect of there not being a postback event handler or
something (I don't remember the details).

With regards to #1, the only way to correct the problem I've found thus
far is to create the page from scratch and not copy/paste any of the HTML.
But that isn't feasible, there are too many pages and these pages are
complicated pieces of "art" such that it is impracticle to rewrite the
entire application.

Does anyone here know what the cause of the problem is and perhaps a
better way to solve it?
Thanks,
Shawn


Nov 2 '06 #2
Consider the web application project (www.asp.net) with 1.1 apps going to
2.0. It compiles the same way and reduces issues.
yes, I'm using this utility and I believe the problem I'm experiencing is a
defect with WAP but maybe not. In any case, I'm wondering if someone else
has experienced this and knows a much more suitable workaround than the only
one I know of that solves the problem.
Thanks,
Shawn
Nov 2 '06 #3
If you had AutoEventWireup set to false w/ the 1.1 version, I would look at
that. The conversion utility changes AutoEventWireup to true by default and
your Page_Load handlers might be getting called twice. Just something to
look into...

Jim
"Shawn B." wrote:
Greetings,

We have a very large web application (300+ pages) (insurance software) that
was ported from ASP.NET 1.1 to 2.0 via the Web Application Project add-in.
There are some pages that the postbacks inexplicably don't function as
intended. What happens is the postbacks do one of two things: 1) they act
like a redirect and request the same page losing the query string parameters
and the IsPostBack registers as false or 2) the attempt to do a proper
postback but the ASP.NET engine throws an exception stating something to the
effect of there not being a postback event handler or something (I don't
remember the details).

With regards to #1, the only way to correct the problem I've found thus far
is to create the page from scratch and not copy/paste any of the HTML. But
that isn't feasible, there are too many pages and these pages are
complicated pieces of "art" such that it is impracticle to rewrite the
entire application.

Does anyone here know what the cause of the problem is and perhaps a better
way to solve it?
Thanks,
Shawn
Nov 2 '06 #4

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

Similar topics

9
by: Roman | last post by:
Hello I have a component built in VB.2003. It has the following property: Public Shared mCONN As SqlConnection Public Property Connection() As SqlConnection Get Return mCONN End Get...
1
by: Kayvine | last post by:
Hi guys, this is a question I have for an assignment, it is pretty long, but I am not asking for the code(well if someone wants to write I'll be really happy, lol), but I just want to know how to...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.