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


Please Help Members By Posting Answers For Below Questions

What is the significance of attaching a profile while creating a user?

569


Is there any limit for query string? Means what is the maximum size?

494


What is the parent class of all the web server control?

491


Explain asp.net web forms.

568


What is difference between web config and global asax?

445






How is my content secured from unauthorized access?

520


Explain how do you deploy your asp.net application?

485


Explain diff between dataset and datareader?

533


Describe the difference between inline and code behind - which is best in?

515


What is the function of the ViewState property?

647


Explain client side state management system.

570


What is difference between session and cookie?

522


Write a code snippet to implement the indentation in json in web api.

579


Explain how is a property designated as read-only?

553


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

595