473,386 Members | 1,803 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.

dotNET 1.1 SP1 sometimes stops buttons from posting if validators have EnableClientScript=true (the default!)

Hi All

OK, this one has me baffled and infuriated!?!?!?!

I've unfortunately upgraded our W2003 server to dotNET 1.1 SP1 and it
appears that validation controls with EnableClientScript=true (the
default) are stopping pages which pass client-side validation from
posting back from buttons if the browser is Internet Explorer 6
(sometimes)

Anyone seen this problem?

I coudn't replicate the problem on my dev box for a day, and now my
dev box is showing this behaviour. However our live server is suddenly
not doing this anymore.

The weird thing is that the rendered HTML output is identical between
dev box and live server, yet IE is behaving differently??? Not sure if
this a client or server issue?

I've double checked the WebUIValidation.js file is the latest (and run
aspnet_regiis). I thought that is was the previous version of
WebUIValidation.js being cached at proxies or in IE that was casuing
the problem, but I now see that WebUIValidation.js didn't change in
SP1 so it can't be this.

Example form
--------------------------------------------------------
<%@ Page Language="vb" AutoEventWireup="false"
Inherits="System.Web.UI.Page"%>
<HTML>
<body>
<form method="post" id="form2" runat="server">
Textbox <asp:textbox class="CInput" maxlength="50" id="SeasonName"
Runat=server />
<br>
Required Field Validator
<asp:RequiredFieldValidator id=RequiredFieldValidator1
runat="server" ErrorMessage="RequiredFieldValidator"
ControlToValidate="SeasonName"
EnableClientScript="true"></asp:RequiredFieldValidator>
<br>
<asp:Button id="Button1" class=cbutton runat="server" Text="Submit"
/></P>
</form>
</body>
</HTML>
--------------------------------------------------------

Cheers,
Mark
Nov 18 '05 #1
0 1158

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

Similar topics

6
by: Jim H | last post by:
I have a dialog that I bring up as an options dialog. I have a variable for this dialog as a member of the main application form and I create it in the constructor. I bring up the dialog by...
1
by: Lamine Darbouche | last post by:
Please Help, I have a form with multiple buttons "New User", "Delete User", "Save" buttons, when I access the form it selects the "New User" button by default, so when you hit the return key...
4
by: David Lozzi | last post by:
OK simple question. Whats the default value for an string() array? sub LoadStuff(byval one as integer, byval two as string, optional byval three() as string = ??) Its driving me nuts! ...
1
by: Pablo | last post by:
Friends, how can i get the name of the default printer??. I'm working with winforms. VB,C#, nevermind. Thanks a lot Pablo
2
by: Robbie De Sutter | last post by:
Hello, How do I open a new, empty e-mail message from the default e-mail client whereby the sender is given and a file is attached? Currently I use the command (vb.net): ---...
1
by: A.M-SG | last post by:
Hi, I have a web service with two soap extensions enabled on it. When I run the default IIS method invoke page, the invoke button bypasses all my soap extensions. But when I call the...
0
by: Scøtt Lovegrove | last post by:
Ok, I have developed an app that needs to load a search page in a web browser, but that data needs to be posted, rather than just have ..aspx?something=&something2=& etc.... I have found the code...
3
by: Maxwell2006 | last post by:
Hi, When I run a web service project, ASP.NET shows me a default web method invoke page. How can I disable/modify the default test (or method invoke) page of the ASP.NET web services? ...
9
by: CeyloR | last post by:
Hello everyone, I have a problem with my Ajax page. I'm jusing prototype-1.4.0.js as framework. I have a function to populate three listboxes. The items in the listboxes are from a MYSQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.