GSSP-NET · Question #469
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…
The correct answer is A. Add a RequiredFieldValidator control to the page. Set its ControlToValidate property to B. Set the ClientValidationFunction property of the CustomValidator control to the name of the script D. Add a CustomValidator control to the page. Set its ControlToValidate property to txtDateOf Birth. F. Set the AutoPostBack property of txtDateOfBirth to False. See the full explanation below for the reasoning.
Question
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 GIAC GSSP-.NET Exam 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.
Options
- AAdd a RequiredFieldValidator control to the page. Set its ControlToValidate property to
- BSet the ClientValidationFunction property of the CustomValidator control to the name of the script
- CSet the AutoPostBack property of txtDateOfBirth to True.
- DAdd a CustomValidator control to the page. Set its ControlToValidate property to txtDateOf Birth.
- ESet the ClientValidationFunction property of txtDateOfBirth to the name of the script function that
- FSet the AutoPostBack property of txtDateOfBirth to False.
How the community answered
(17 responses)- A71% (12)
- C18% (3)
- E12% (2)
Community Discussion
No community discussion yet for this question.