Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am fresher in .net please help me.
Posted

 
Share this answer
 
 
Share this answer
 
IMHO you should use both client and server validation.
Client to provide user with useful info and to not to post values with obvious error.
Server to protect your system from malicious data may be send by the client.
You can use .Net Validation controls for both, so no need of extra JavaScript...In any case do not try to write the validation alone - it can be a bit too complicated...
Learning material:
http://msdn.microsoft.com/en-us/library/debza5t0(v=vs.100).aspx[^]
http://jqueryvalidation.org/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900