nerdexam
GIAC

GSSP-NET · Question #177

Peter works as a Software Developer for PatSoluTech Inc. He develops a Web application using Visual Studio .NET. The application contains an online ordering Web form named WebForm1. WebForm1…

The correct answer is A. ImageButton1.CausesValidation. See the full explanation below for the reasoning.

Question

Peter works as a Software Developer for PatSoluTech Inc. He develops a Web application using Visual Studio .NET. The application contains an online ordering Web form named WebForm1. WebForm1 contains several Web server controls that include a TextBox control named TextBox1 and an ImageButton control named ImageButton1. He wants data entered in TextBox1 to be validated whenever ImageButton1 is clicked. Which of the following will Peter use to accomplish the task?

Options

  • AImageButton1.CausesValidation
  • BImageButton1.OnClientClick
  • CImageButton1.ValidationGroup
  • DImageButton1.Enabled

How the community answered

(53 responses)
  • A
    72% (38)
  • B
    4% (2)
  • C
    9% (5)
  • D
    15% (8)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice