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 box value is validated by using the ValidateValue method.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

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 box value is validated by using the ValidateValue method.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

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.



Leave a Reply 0

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