validation
-
Hi, I want to develope an web application using asp.net 2.0.For validation,whether javascript validation is better or using validation controls is better? Thanks in advance.
-
Hi, I want to develope an web application using asp.net 2.0.For validation,whether javascript validation is better or using validation controls is better? Thanks in advance.
A lot of this is going to depend on two things; how complicated is your validation? and how good is your java. The validation controls just generate java script to run on the client, so you are not buying anything by doing it in java unless you have some validation that the controls won't do. The big advantages of using the validation controls is that you don't have as much code to write or support AND the validation automatically happens on the client AND the server side. If you write your own java script, and want the added security of having the validation run on the server, you'll have to code it there as well. HTH WhiteWizard aka Gandalf