R – Validation are dissapearing while deployment in asp.net

asp.netiisvisual-studio-2008visual-studio-express

I have a asp.net validation in test box when i debug and run in vs2008 web developer edition is working fine.

But when i display the code in the production server by copy pasting the code in web root folder its not working.

I am developing the application using vs2008 web developer edition in windows 2003 server, i am deploying the code on another windows 2003 server using IIS.

Is this a problem with .js file? or a patch in the windows 2003 server? or a IIS version problem ?

Best Answer

Please check the CauseValidation property of surrounding controls. Is any of them set to False by mistake.