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

What is session state server?

831


What is the difference between table and query?

716


What is Razor View Engine

801


Explain the difference between asp.net mvc and asp.net webforms

773


Can the unique key be null?

801


Define application state variable and session state variable?

757


Define static constructor?

722


What is the asp.net control toolkit?

750


What is meant by asp.net?

704


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

2486


To wrap up a call to a Web service the standard used is..?

716


What is asp.net version?

695


Explain the difference between asp and asp.net?

695


How to Separate background image and front image from original picture....

733


What are the advantages of asp.net mvc framework? : asp.net mvc

737