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

Intermittent Postback Bug

Al
I've got an intermittent bug with Postbacks and ASP.NET, maybe someone has
seen before:

In a nutshell, on two servers the form postbacks are fine, and all the
DropDownLists, TextBoxes, and else are accessible in the postback processing
routine.

However, when the same project is deployed to the production server the
postback processing routine receives NULL for the DropDowns, i.e.
"cmbType.SelectedItem" is null, even though all fields are filled in, and
the same code works on another server.........

Thanks!
Alex

CODE EXCERPTS:

PAGE LOAD:

private void Page_Load(object sender, System.EventArgs e)
{
if (IsPostBack)
{
ProcessForm();
Response.Redirect("default.aspx", true);
return;
}
}

protected bool ProcessForm()
{
String strIncidentXml;
//Type
strIncidentXml += "<casetypecode>" +
cmbType.SelectedItem.Value.ToString()
+ "</casetypecode>";
//Subject
strIncidentXml += "<subjectid>" +
cmbSubject.SelectedItem.Value.ToString()
+ "</subjectid>";
//Priority
strIncidentXml += "<prioritycode>" +
cmbPriority.SelectedItem.Value.ToString()
+ "</prioritycode>";
//Contact Name
strIncidentXml += "<CFSContactName>" +
lblContactName.Text
+ "</CFSContactName>";

....
}
--
remove underscores to email
Nov 17 '05 #1
0 1350

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

Similar topics

0
by: deevoy | last post by:
Hi- I'm developing a asp.net web application and everything has proven fine on the dev and acceptance environment. We've moved the code up to our windows server 2003 prod environment and get the...
8
by: trinitypete | last post by:
Hi all I have a strange problem with IIS windows pass through authentication. Heres the setup IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all...
2
by: Mike Krajewski | last post by:
We are having an intermittent problem using an ExecuteScalar command on a asp.NET page accessing SQL Server. 2 characters of the sql statement get intermittently altered. The code looks as...
3
by: Lee Chapman | last post by:
Hi, I have a problem where my ASP.NET application occasionally generates a MissingFieldException exception. This unexpectedly happened on my development box, and so I was able to extract some...
1
by: deevoy | last post by:
Hi- I'm developing a asp.net web application and everything has proven fine on the dev and acceptance environment. We've moved the code up to our windows server 2003 prod environment and get...
0
by: Shane C | last post by:
Intermittent Error: Server was unable to process request  Object reference not set to an instance of an object I have windows application that references a XML web service on our web server. ...
8
by: Dave | last post by:
I am getting an intermittent database error on my asp page. I am using Access 2003 with classic ASP. The error is this: Microsoft JET Database Engine Error 80040e10 No value given for one or...
2
by: =?Utf-8?B?RGFycmVs?= | last post by:
I don't know if this is an ASP.NET issue, an IIS issue, or a user browser issue, but on one of our web applications we have been getting an increasing amount of 400 'Bad Request' errors. The...
0
by: Joey Bersche | last post by:
I've been experiencing an intermittent crash where no python stacktrace is provided. It happens for a url downloading process that can last up to 12 hours and crawls about 50,000 urls. I'm...
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
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: 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...
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)...
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...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.