PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You are developing a Silverlight 4 application. The application contains a form that has a Grid control and several input fields. The data context is bound to an object that implements validation. You need to display a summary of validation errors. Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Add a ValidationSummary control.

B.
Add a ListBox control and bind it to the Validation.Errors property of the Grid control.

C.
Set Validation.HasError=”True” on the Grid control if any of the fields contains an error.

D.
Set NotifyOnValidationError=true and Mode=TwoWay on each field�s binding expression.


Leave a Reply