PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You are developing an ASP.NET web page that includes a text box control.
The page includes a server-side method named ValidateValue.
You need to configure the page so that the text boxvalue is validated by using the ValidateValue method.
Which two actions should you perform? (Each correctanswer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Use the CompareValidator control.

B.
Use the CustomValidator control.

C.
Set ValidationGroup on the control to ValidateValue.

D.
Set OnServerValidate on the control to ValidateValue.

Explanation:
CustomValidator


Leave a Reply