Validation control works - client side & server side

Q.  ASP.NET validation controls works (handle validation) at
- Published on 16 Jun 15

a. Client side only.
b. Server side only.
c. Both client side and server side.
d. None of the above.

ANSWER: Both client side and server side.
 
ASP.NET validation controls can be attached to user input controls to handle validation on both the server and the client. Client-side validation improves performance by checking the input data at the browser before sending to the server. Clint side validation is not so much secure. It can be easily hacked by hackers. Server-side validation is more secure way of validating the data that is posted back to the server.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)