473,471 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ValidatorOnSubmit()

HEllo people
im having a big trouble with Web apps
Recently (6 months ago) i´ve installed the webApps on a production
server, and all works very fine, but some weeks ago the users are
sending a lot mails of malfunctioning on the system.

The things is that the web server are generating a wrong HTML

normally an .aspx page generate code like this:

<form name="frmLogin" method="post"
action="login.aspx?ReturnUrl=/AdministracionUsuarios/get_aspx_ver.aspx"
language="javascript" onsubmit="ValidatorOnSubmit();" id="frmLogin">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE"
value="dDwtMzQ4Njk3NzQwOztsPGltZ0FjZXB0YXI7Pj7k7GM kKvN2RdNz5fH9vAqnYYFWaA=="
/>

<script language="javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("n etscape") > -1)
{
theform = document.forms["frmLogin"];
}
else {
theform = document.frmLogin;
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
<script language=javascript>forma.idUsuario.value='66';</script>
<script language="javascript"
src="/aspnet_client/system_web/1_1_4322/WebUIValidation.js"></script>
but the server now is only generating this code:

<form name="encuesta" method="post" action="encuesta.aspx"
id="encuesta">

nothing about viewstate, nothing of onsubmit="ValidatorOnSubmit();"

im getting crazy
im fighting with this problem 2 weeks.

What im done is:

Verify all the configuration of the server, Virtual servers, virtual
directories and seems to be normal.

On the same IIS server i have a secure site, and all the web apps that
are running there works perfectly.

I did a test: copying one app (from a virtual server) that wont work;
on the secure site (https) and there works ok ??????
can u imagine that????
more things:
All this things happens if im behind a firewall, if i dont use the
configuration of Proxy serves of Internet explorer, all the web apps
worjs fine

PLEASE
PLEASE HELP
HELP
Nov 18 '05 #1
1 3082
My network admin guy one day set us up on ISA (Microsoft's proxy server).
He basically starting blocking all kinds of things, one of them was
javascript. I knew something was wrong, because I was getting the little
javascript error icon in the lower bottom corner of IE. Doesn't quite sound
like your problem, cause I would think the js code would still be in the
page output, but I am not sure anymore. Something to look at.

HTH,
Greg
more things:
All this things happens if im behind a firewall, if i dont use the
configuration of Proxy serves of Internet explorer, all the web apps
worjs fine

Nov 18 '05 #2

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

Similar topics

7
by: Michel | last post by:
Hi all, Is there some intelligent way to trigger a clientside JavaScript function before a postback is triggerd by any of the controls on a page? Thanks in advance, Michel Mathijssen
5
by: Jim Brandley | last post by:
I have a required field with a client-side validator. It works as advertised until I try to add code to block double submits and replace the image on the submit button to give the users some...
4
by: Alphonse Giambrone | last post by:
I have a simple login page that has two text boxes, two requiredfieldvalidators, a couple of labels and a button. It has been reduced down to almost nothing to troubleshoot the below problem. ...
1
by: Lucas Fletcher | last post by:
Hi, For some reason ASP.NET forms do not post on my live server, although they work fine in dev. The only difference I can see between the two is that the framework version on live is: ...
7
by: z f | last post by:
Hi, i have a vb.net web application that uses validators. on my dev machine (Xp pro) it works fine. on the hosting machine (win2003) the validator (client side and server side ) stop working....
2
by: Wysiwyg | last post by:
I'm going back to a previous asp.net (C#) web project after a few months of inactivity and my first form, the login, won't submit. I ran with the debugger and still can't see how to resolve this. I...
3
by: deride | last post by:
For client side validation, the following code is generated by the framework <form name="Form1" method="post" onsubmit=" if (!ValidatorOnSubmit()) return false; MyFunction..."> My Problem is...
1
by: Brian Christensen | last post by:
Hi, Due to long periods during postbacks I'm experimenting on having a load screen. Best practice for this I have been unable to find so I hope someone here can point me in the right direction. I...
2
by: rm1234 | last post by:
All, I am using XmlHttp / PageMethods to refresh a portion of web page that contains some asp.net validators that are enabled for client side validation. But before I submit Ajax post request I...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
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...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.