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 actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
What is a global postback url?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
What is the meaning of TestApi?
What are the validation controls available in ASP.NET?
Explain the use of fragment caching.
Explain the difference between authentication and authorization.
What is the procedure to create the environment for asp.net? : asp.net mvc
How many types of validation are there?
What does the hotspot class in .net do?
What are custom user controls in asp.net?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
Where is http session stored?
How do you sign out from forms authentication?
Do you support digital rights management to protect my videos?