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
What New Features comes with ASP.NET Web API 2.0?
How to bind all the binding controls in a page at once in ASP.NET?
What is DataGrid wheater its a Server Control or something else ?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
What is asp.net mvc? : asp.net mvc
What are the built-in objects in asp.net?
how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool
What are triggers of an updatepanel?
What is the use of asp.net web api?
Why Unload event of MasterPage Calls first in ASP.net ?
What is meant by ispostback in asp net?
What is sql data source control in asp.net?
What is the extension of master page in asp.net?
What is a response cookie?
What are the disadvantages of asp.net?