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