Which approach should you recommend?

Correct Answer for the following Question is given below

You have an ASP.NET Web Forms application for processing orders.Many users of the application submit their order forms multiple times due to incorrectly formatted credit card information.You need to plan for validation of the length and format of data in the credit card field on the client side prior to processing each transaction.Which approach should you recommend?RequiredFieldValidator used for check is value do not emptyRegularExpressionValidator – check value is correct by regular expression

Question:

Which approach should you recommend?

Options:

Use a CustomValidator control in the Page_Load method.

Use a CustomValidator control in the OnServerValidate method.

Use a RequiredFieldValidator control and a CompareValidator control.

Use a RequiredFieldValidator control and a RegularExpressionValidator control.

Correct Answer

The Correct Answer for this Question is

Use a RequiredFieldValidator control and a RegularExpressionValidator control.

Explanation

The Question – Which approach should you recommend? has been answered correctly and answers for the question is Use a RequiredFieldValidator control and a RegularExpressionValidator control.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *