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?.
Answers were Sorted based on User's Feedback
Answer / niraj pandey
b)Compiler error; the control must be set to runat=?server?.
Is This Answer Correct ? | 0 Yes | 0 No |
What is asp net objects?
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?
How do u optimize a query in asp.net?
Define application state variable and session state variable?
What is master page in dtp?
What is the use of ASP.NET routing?
Where does the Web page belong in the .NET Framework class hierarchy?
1 Answers Perot Systems, Visual Soft,
can sn.exe can be used before gacutil.exe
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
How many Garbage Collectors are there for one Application or one Page
What is difference between session and cookie?
What are the two Layouts supported by a Web form in ASP.NET?