PrepAway - Latest Free Exam Questions & Answers

What should you do to update the application so that both the border…?

You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
You implement validation for a data bound text box control. When a user enters an invalid value in the text box, the border of the text box turns red. You need to update the application so that both the border and the text of the text box control turn red when an invalid value is entered.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Use a custom control template.

B.
Create a custom validation rule.

C.
Add an exception handler to the code-behind file.

D.
Add two validation rules to the ValidationRules element.


Leave a Reply