nerdexam
Microsoft

70-519 · Question #288

70-519 Question #288: Real Exam Question with Answer & Explanation

The correct answer is A. 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

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

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice