locked
How to apply RequiredFieldValidator to ManyToMany field template,please? RRS feed

  • Question

  • User745141034 posted

    How to apply RequiredFieldValidator to ManyToMany field template,please?

    Sunday, September 16, 2012 12:32 AM

Answers

  • User1077185331 posted

    Hi,

    You can not use Required Field Validator for multiple controls. The validator have property ControlToValidate, it will validate one control at the time.

    You can fullfill such kind of requirement using Custom Validator with validation summary to display invalid error messages.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 16, 2012 4:15 AM