Strange RequiredFieldValidator problem

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-
 
G

Grant Merwitz

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top