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 is the significance of attaching a profile while creating a user?
Is there any limit for query string? Means what is the maximum size?
What is the parent class of all the web server control?
Explain asp.net web forms.
What is difference between web config and global asax?
How is my content secured from unauthorized access?
Explain how do you deploy your asp.net application?
Explain diff between dataset and datareader?
Describe the difference between inline and code behind - which is best in?
What is the function of the ViewState property?
Explain client side state management system.
What is difference between session and cookie?
Write a code snippet to implement the indentation in json in web api.
Explain how is a property designated as read-only?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?