Strange RequiredFieldValidator problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a problem with RequiredFieldValidators that are working differently
in Windows XP SP2 and Windows 2000 Server.

I have a web form with 2 textboxes with 2 RequiredFieldValidators.

In XP, which is my development environment, validators work correctly.
If user tries to submit page without any text in textboxes --> Validator
shows error message --> No postback

In Windows 2000 Server it goes:
User submits page without any text in textboxes --> Validator shows error
message correctly --> But for some reason page continues to postback

Any idea what is causing this kind of behavior?

Validators has:
EnableClientScript == True
Enabled == True
EnableViewState == True

-joopa-
 
Have you tried including the client side scripts?

On your windows 2000 server, run the following command (from the Vis Studio
cmd prompt, or in the .NET framework folder)

aspnet_regiis -c

that will install the client side files in all the virtual directories on
that server (siteroot\aspnet_client)
 
Back
Top