New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 45 Topic 5 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 45 Topic 5 Discussion

GSSP-NET-CSHARP Exam Topic 5 Question 45 Discussion:
Question #: 45
Topic #: 5

John works as a Web Developer for ProMetaworks Inc. He creates an ASP.NET application, named MyApp1, using Visual Studio .NET. MyApp1 contains a page, named Page1. Page1 contains several TextBox controls that accept users' input. John uses several validation controls on the page to validate input controls. He wants to display all the validation error messages on the page in a message box. However, he does not want the validation summary to be displayed inline on the Web page. What will he do to accomplish the task?


A.

Add a ValidationSummary control to the page. Set its ShowMessageBox and ShowSummary properties to true.


B.

Add a ValidationSummary control to the page. Set its DisplayMode property to MessageBox .


C.

Add a ValidationSummary control to the page. Set its ShowMessageBox property to true and ShowSummary property to false.


D.

Add a CustomValidator control to the page. Write a custom client-side script function. Set the ClientValidationFunction property of the control to the name of the function.


Get Premium GSSP-NET-CSHARP Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.