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

How Can assign alias name for ASP.NET Web API Action?

942


Describe the Server Control Events of ASP.NET?

661


What is the difference between ldap and active directory?

519


What are the three parts of an http response?

534


Describe the master page.

556






Contrast OOP and SOA. What are tenets of each ?

1744


What are the event handlers that we can have in global.asax file?

538


What are the new features implemented in ASP.NET?

611


Explain about Multi-Language integration?

607


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

525


How can we prevent browser from caching an aspx page?

533


Can we have 2 web config files?

549


What is http only cookie?

506


What is the used of "ispostback" property?

571


What is the difference between cookie and session?

504