Found something interesting. On my local server (where the code works)
the form tag on the client side code after the ASPX page has been
processed is:
<form name="Form1" method="post"
action="GradApp lication.aspx?M ode=applicanted it&Applicat ionID=313"
language="javas cript" onsubmit="Valid atorOnSubmit(); " id="Form1">
The page on the new server that does not work contains:
<form name="Form1" method="post"
action="GradApp lication.aspx?M ode=applicanted it&Applicat ionID=1"
language="javas cript" onsubmit="if (!ValidatorOnSu bmit()) return false;"
id="Form1">
Also, the page that works says:
function __doPostBack(ev entTarget, eventArgument) {
var theform;
if (window.navigat or.appName.toLo werCase().index Of("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENT TARGET.value = eventTarget.spl it("$").join(": ");
theform.__EVENT ARGUMENT.value = eventArgument;
theform.submit( );
}
The one that doesn't reads:
function __doPostBack(ev entTarget, eventArgument) {
var theform;
if (window.navigat or.appName.toLo werCase().index Of("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENT TARGET.value = eventTarget.spl it("$").join(": ");
theform.__EVENT ARGUMENT.value = eventArgument;
theform.submit( );
}
(Notice the enclosing brackets arounsd Form1.)
What is going on to cause the same ASP.NET application to produce
different output on two different servers? I checked and they are both
using the latest .NET Runtime (1.1.4322.573).
Thanks!
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!