ASP.NET Validation Control works at Client Side & Server Side - Validation Control and Web page navigation

Q.  ASP.NET Validation Control works at ________ .
- Published on 28 Jul 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
 

    Discussion

  • Raj Singh   -Posted on 14 Sep 15
    ASP.NET Validation Control works at client as well as server side. If browser supports javascript , then ASP.NET validation controls can perform validation using client script.
    Client side validation is performed on users' browser before the data postback to server.
    Client side validation is fast because there is no trip to server.
    Server side validation occurs at server. Server side is more secure nd ensures that no invalid data gets processed by the application.
    You can choose client side or server side or both.

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.)