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 |
Can viewstate be accessed in another page?
When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.
4 Answers Syntax Softtech, TCS,
Do ASP.NET forms authentication cookies provide any protection against replay attacks? Do they, for example, include the client's IP address or anything else that would distinguish the real client from an attacker?
What is the use of web.config and machine.config files?
How is session id generated?
what is Impersonation
3 Answers Alliance One, Task Informatics,
How Response.flush works in server.Execute
What is advantage of viewstate and what are benefits ?
how to transfer the file from client to server using asp.net
0 Answers Sans Pareil IT Services,
What are the type of session in Asp.Net
What is the life cycle of web page?
What does assemblyinfo.cs file consist of?
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)