What should you recommend?

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?

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?

A.
Change each Panel control to an UpdatePanel control. Set a PostBackTrigger for the
Submit button on the panel.

B.
Change each Panel control to an EditorZone control.

C.
For each panel, set the ValidationGroup property on all the validator controls and the
Submit button to a unique value for the panel.

D.
For each panel, set the ValidationGroup property on the Submit button to a unique value
and add a ValidationSummary control with the same value.



Leave a Reply 0

Your email address will not be published. Required fields are marked *