473,224 Members | 1,978 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,224 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 1984
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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.