You create Web-based client applications. You are creating a Web page that permits a user to enter information to apply for a loan. The amount that the user is permitted to request depends upon the type of the loan and the term of the loan.
The Web page must perform the following tasks:
Ensure that the user enters a valid loan amount.
Prevent unnecessary trips to the server.
You need to implement an appropriate validation strategy for the application. What should you do?
A.
Validate the data by using client-side scripting.
B.
Validate the data by using the CustomValidator control.
C.
Validate the data by using the RangeValidator control and the CompareValidator control.
D.
Validate the data after it is submitted to the server.