nerdexam
Microsoft

70-519 · Question #132

You are designing a data validation strategy for an ASP.NET Web application. A page of the Web application includes multiple Panel controls. Each panel contains input controls, validator controls…

The correct answer is C. For each panel, set the ValidationGroup property on all the validator controls and the Submit. See the full explanation below for the reasoning.

Question

You are designing a data validation strategy for an ASP.NET Web application. A page of the Web application includes multiple Panel controls. Each panel contains input controls, validator controls, and a Submit button. When a user clicks a Submit button, the Web application must validate only the values of the input controls on the panel containing that Submit button. You need to recommend an approach for validating the values. What should you recommend?

Options

  • AChange each Panel control to an UpdatePanel control.
  • BChange each Panel control to an EditorZone control.
  • CFor each panel, set the ValidationGroup property on all the validator controls and the Submit
  • DFor each panel, set the ValidationGroup property on the Submit button to a unique value and

How the community answered

(47 responses)
  • A
    4% (2)
  • B
    17% (8)
  • C
    70% (33)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice