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

Weird RequiredFieldValidator problem

Hi,

I've been having a really weird problem with required field validator.
Here's the detailed description of the problem:

I have originally been developing my web application on Windows XP SP2
under IIS5 with .NET framework V1.1.4322. I have had a couple of
RequiredFieldValidator, to ensure that the user enter the username and
password on the login form and avoid unnessesary postbacks.

The i have moved the application to Windows 2003 Enterprise SP1 with
IIS6 and .NET framework V1.1.4322. The login form load correctly. When
the user leaves a field blank, the error message is displayed
accordingly. But when both fileds are filled and the user presses the
Submit button, NO POSTBACK occurs and no error messages are displayed
(be those generated by the validators or underlying JavaScript); in
other words, NOTHING happens. Then theres another thing which makes
this even more misterious, when Firefox 1.0.4 is used, EVERYTHING
WORKS JUST FINE. So the problem occurs exclusivly when ASP.NET page is
executed under IIS6 in Win 2003, using IE 6 as the browser.

I'm completly mystified/annoyed/furious. This issue is holding me
back. Can anyone help me resolve it?

(this can be viewed at
http://nz.no-ip.biz/HelpDeskManager_V2_2_Dev/Login.aspx)

Kind regards,
Nick Goloborodko
Nov 19 '05 #1
3 1991
TJS
I tried it both browsers and it worked correctly both times for me

-- no entries, both fields req.
--1 entry , the other field req
--2 entries, Username does not exist

"Nick Goloborodko" <co******@gmail.com> wrote in message
news:eb**************************@posting.google.c om...
Hi,

I've been having a really weird problem with required field validator.
Here's the detailed description of the problem:

I have originally been developing my web application on Windows XP SP2
under IIS5 with .NET framework V1.1.4322. I have had a couple of
RequiredFieldValidator, to ensure that the user enter the username and
password on the login form and avoid unnessesary postbacks.

The i have moved the application to Windows 2003 Enterprise SP1 with
IIS6 and .NET framework V1.1.4322. The login form load correctly. When
the user leaves a field blank, the error message is displayed
accordingly. But when both fileds are filled and the user presses the
Submit button, NO POSTBACK occurs and no error messages are displayed
(be those generated by the validators or underlying JavaScript); in
other words, NOTHING happens. Then theres another thing which makes
this even more misterious, when Firefox 1.0.4 is used, EVERYTHING
WORKS JUST FINE. So the problem occurs exclusivly when ASP.NET page is
executed under IIS6 in Win 2003, using IE 6 as the browser.

I'm completly mystified/annoyed/furious. This issue is holding me
back. Can anyone help me resolve it?

(this can be viewed at
http://nz.no-ip.biz/HelpDeskManager_V2_2_Dev/Login.aspx)

Kind regards,
Nick Goloborodko

Nov 19 '05 #2
This won't solve your problem, but will explain different behaviors :

FireFox is considered "downlevel", so all validation only occurs on
postback, no JavaScript is involved.

IE6 is "uplevel" so it is JavaScript.

(All ASP.Net 1.1 script make liberal use of document.all - very MS
specific).

Make a google search for DOMValidator if you need no postback validation on
FF & IE. I had to tweak a little the js file but so far so good.
I believe there is a also MS sample somewhere in MSDN that is based on the
same code base.

"Nick Goloborodko" <co******@gmail.com> a écrit dans le message de news:
eb**************************@posting.google.com...
Hi,

I've been having a really weird problem with required field validator.
Here's the detailed description of the problem:

I have originally been developing my web application on Windows XP SP2
under IIS5 with .NET framework V1.1.4322. I have had a couple of
RequiredFieldValidator, to ensure that the user enter the username and
password on the login form and avoid unnessesary postbacks.

The i have moved the application to Windows 2003 Enterprise SP1 with
IIS6 and .NET framework V1.1.4322. The login form load correctly. When
the user leaves a field blank, the error message is displayed
accordingly. But when both fileds are filled and the user presses the
Submit button, NO POSTBACK occurs and no error messages are displayed
(be those generated by the validators or underlying JavaScript); in
other words, NOTHING happens. Then theres another thing which makes
this even more misterious, when Firefox 1.0.4 is used, EVERYTHING
WORKS JUST FINE. So the problem occurs exclusivly when ASP.NET page is
executed under IIS6 in Win 2003, using IE 6 as the browser.

I'm completly mystified/annoyed/furious. This issue is holding me
back. Can anyone help me resolve it?

(this can be viewed at
http://nz.no-ip.biz/HelpDeskManager_V2_2_Dev/Login.aspx)

Kind regards,
Nick Goloborodko

Nov 19 '05 #3
Hi,

Thanks for the reply. I have fixed the problemm by copying all of the
files from the folder "aspnet_client" onto the server and that seems to
have fixed the problem at least for now.

Kind regards,
Nick Goloborodko
*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #4

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

Similar topics

6
by: BK | last post by:
I'm having a really strange problem with and HtmlSelect server control (listbox) and a RequiredFieldValidator that I am trying to use to make sure that someone has items in the listbox. The way...
0
by: Nicolas | last post by:
How can I have only one RequiredFieldValidator to control two TextBox webcontrols so that only one message is displayed <asp:Label id="lbl_UserName" runat="server"></asp:Label><br> <asp:TextBox...
4
by: James | last post by:
Hello, I have a RequiredFieldValidator for several textbox controls on a form. Here's an example with the RequiredFieldValidator. EnableClientScript, Enabled, and Visible are set to true for...
5
by: Fernando Lopes | last post by:
Hi. I want to show an image in a requiredfield validator instead of "*". So, I 'm set the requiredfieldvalidator attributes like following: <asp:RequiredFieldValidator id=rfvFirstName...
2
by: Hongbo | last post by:
Hi, I have a Asp.Net written in C#. It serve as information input form. The form encounters sort of random problem with the email field and state field. I have validator attached with these 2...
1
by: Giovanni | last post by:
Dear Friends, I need your help. I am trying to dynamically create a RequiredFieldValidator in the ItemCreated event of a DataList but cannot get it to work. The errors seem to revolve around...
1
by: Arpan | last post by:
Suppose I have the following RequiredFieldValidator control which validates a TextBox: <form id="form1" runat="server"> <asp:TextBox id="txtVal" runat="server"/> <asp:RequiredFieldValidator...
3
by: AG | last post by:
Below is code (slightly modified and converted to VB) that was provided to me in response to another post. I am using it to demonstrate another problem. In order for paging and other features to...
3
by: Bogdan | last post by:
Hi, I have a OnClientClick script assigned to a button. From the script, I'd like to check if RequiredFieldValidator attached to a textbox on the page has failed. The Page_IsValid works fine...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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...

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.