Moderate

Attribute must be set on a validator control for the validation to work.

Correct answer: B. ControlToValidate

  • A. ValidateControl
  • B. ControlToValidate
  • C. ControlToBind
  • D. Validate

Explanation

`ControlToValidate` identifies the input control whose value a validator should check. The other names are not the standard ASP.NET validator property for linking an input control.

Last updated

Practise Web and Mobile Development

268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions