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 / niraj pandey
b)Compiler error; the control must be set to runat=?server?.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
What is variable and constant in .net programming language?
What is the Difference between MVC And MVP design pattrens
What is the purpose of using MVC programming pattern in ASP.NET?
How do you sign out from forms authentication?
List the major built-in objects in asp.net?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
What is the latest version of asp.net?
How does asp net store session ids by default?
How do u declare static variable and how it is declared and what is its lifetime?
What is the maximum timeout we can set for Cookies?
If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?
Which adapter should you use, if you want to get the data from an access database?