To add a custom control to a Web form we have to register with.
TagPrefix
Name space of the dll that is referenced
Assemblyname
All of the above
Custom Controls are derived from which of the classes
System.Web.UI.Webcontrol
System.Web.UI.Customcontrol
System.Web.UI.Customcontrols.Webcontrol
How ASP.Net Different from classic ASP?
Scripting is separated from the HTML, Code is interpreted seperately
Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server
Code is separated from the HTML and interpreted Code is interpreted separately
What's the difference between Response.Write() andResponse.Output.Write()?
Response.Output.Write() allows you to flush output
Response.Output.Write() allows you to buffer output
Response.Output.Write() allows you to write formatted output
Response.Output.Write() allows you to stream output
Why is Global.asax is used?
Implement application and session level events
Declare Global variables
No use
There can be more than 1 machine.config file in a system
True
False
What is the extension of a web user control file?
.Asmx
.Ascx
.Aspx
Which of the following is true?
IsPostBack is a method of System.UI.Web.Page class
IsPostBack is a method of System.Web.UI.Page class
IsPostBack is a readonly property of System.Web.UI.Page class
The number of forms that can be added to a aspx page is.
1
2
3
More than 3
How do you manage states in asp.net application
Session Objects
Application Objects
Viewstate