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 Question # 38 Topic 4 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-.NET Question # 38 Topic 4 Discussion

GSSP-.NET Exam Topic 4 Question 38 Discussion:
Question #: 38
Topic #: 4

Mark works as a Software Developer for TechBook Inc. He develops an ASP.NET application, named MyApp1, using Visual Studio .NET. MyApp1 contains an ASP.NET page that is used to register new participants to a quiz contest, which is to be held recently in the city of New York. In order to take part in the quiz contest, an applicant must be between the age of fifteen and twenty-five. Mark adds a TextBox control, named txtDateOfBirth, to the page. He wants to ensure that each prospective participant enters his date of birth in txtDateOfBirth. He also wants to verify that prospective participants meet the age requirement. For this, Mark wants to use a custom client script function. He also wants to minimize the number of trips made to the server. Which of the following actions will Mark perform to accomplish the task?

Each correct answer represents a part of the solution. Choose all that apply.


A.

Add a RequiredFieldValidator control to the page. Set its ControlToValidate property to txtDateOfBirth.


B.

Set the ClientValidationFunction property of the CustomValidator control to the name of the script function that performs the client-side validation.


C.

Set the AutoPostBack property of txtDateOfBirth to True.


D.

Add a CustomValidator control to the page. Set its ControlToValidate property to txtDateOf Birth.


E.

Set the ClientValidationFunction property of txtDateOfBirth to the name of the script function that performs the client-side validation.


F.

Set the AutoPostBack property of txtDateOfBirth to False.


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.