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?.
Answer Posted / swapna
d) Runtime Exception; the control must be set to
runat=?server?.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is server infrastructure & server components?
How can we identify that the Page is Post Back?
What is application session?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
How would you implement inheritance using c#?
When does a session actually start?
Is it possible to create web application with both webforms and mvc?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?
Explain the asp.net session state modes.
What is a web farm?
Explain how to prepare culture-specific formatting in .net.
what are the security certificates used in webservices?
What are the new data controls in asp.net 2.0?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
How can you identify that the page is post back?