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


Please Help Members By Posting Answers For Below Questions

Is react a template engine?

597


What is caching? What are different ways of caching in asp.net?

766


What are the features of asp.net mvc?

602


Why is asp.net so popular?

588


What is a query string in a url?

633






Do you support digital rights management to protect my videos?

533


Explain authorization levels in .net ?

690


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2371


Explain the asp.net session state modes.

709


List some of the important session state modes of asp.net.

606


How to create events for a control?

635


What is asp.net response object?

643


What are the advantages of the code-behind feature?

613


Explain the use of dataadapter.

685


What is Bundling and Minification in MVC?

665