GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 103 Topic 11 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 103 Topic 11 Discussion

GSSP-.NET Exam Topic 11 Question 103 Discussion:
Question #: 103
Topic #: 11

John works as a Web Developer for ProMetaworks Inc. He creates an ASP.NET application, named MyApp1, by 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 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.


B.

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


C.

Add a ValidationSummary control to the page. Set its ShowMessageBox property to True and ValidationSummary property to False.


D.

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


Get Premium GSSP-.NET 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.