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 |
asp.net interview questions
How to change the form layout in ASp.net 2.0 ?
All kind of access specifiers for a class and for methods ?
Explain a program using code nuggets to create a simple application? : asp.net mvc
Can you change a master page dynamically at runtime? How?
Is session stored in browser?
What are the intrinsic objects present in ASP.NET
what do you mean software devlopment ?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
What is the maximum length of textbox
What is ispostback method in asp.net?
what is value type to reference type
6 Answers AG Technologies, IBM,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)