What is the result when the Web Form containing the
following line is complied and executed?
<asp:Button id=?thebutton? onClick=?theEvent? />
a) The button control is created; theEvent is the click
event handler.
b) Compiler error; the control must be set to runat=?server?.
c) Compiler error; onClick is not a valid attribute.
d) Runtime Exception; the control must be set to runat=?server?.
Answers were Sorted based on User's Feedback
Answer / niraj pandey
b)Compiler error; the control must be set to runat=?server?.
Is This Answer Correct ? | 0 Yes | 0 No |
What is a url string?
About session modes
In what languages in ASP written?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
Explain about Automatic resource management?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
What is application state?
What is a form tag?
What does this do? sn -t foo.dll
What I need to create and run an asp.net application?
What's a bubbled event?
Explain the life cycle of an ASP .NET page
2 Answers HCL, Surya Software,