When an ASP.NET application begins, ASP.NET creates
A -
an application object
B -
an application state object
C -
both an application object and an application state object
D -
neither an application object nor an application state object
2-
When an .aspx page is requested from the web server, the out put will be
rendered to browser in following format.
A -
JSP
B -
WML
C -
HTML
D -
XML
3-
When the user clicks a button, link button, or image button control, the page is
posted back to the server and
A -
the Click event it raised, followed by the Command event if a value is specified for the CommandName or CommanArgument property of the control
B -
the Command event is raised, followed by the Click event
C -
the Comand event is raised if a value is specified for the CommandName or CommandArgument property of the control, followed by the Click event
D -
the Click event is raised, followed by the Command event
4-
When you use the Solution Explorer to rename a web form file, Visual Studio
A -
doesnt change the class name for the form
B -
changes the Inherits attribute of the Page directive in the aspx file
C -
changes the class name for the form in the code-behind file
D -
changes all references to the class name in the Visual Basic code
5-
When you use a validation summary control, you can
A -
All of the above
B -
display text in both the validators and the summary control
C -
display a summary of the error messages on the web page
D -
display a summary of the error message in a separate message box
6-
When you specify the master page in the web.config file, all ASP.NET pages (
.aspx files) in the application automatically bind this master page. What do you do to
create an ASP.NET in that application which does not use master page?
A -
@ Page directive of the ASP.NET page does not contain MasterPageFile property
B -
All of the others
C -
ASP.NET page does not contain Content controls
D -
Setting ContentPlaceHolderID= ""
7-
When you create content paghe in your application, by default all the content
pages automatically use the titlt that is declared in the master page. You can avoid this by
specifying the pages title using the ____ attribute in the @page directive in the content
page.
A -
Title
B -
TitlePage
C -
PageHeading Title
D -
Description
8-
Where is the default Session data is stored in ASP.Net?
A -
Seesion Object
B -
StateServer
C -
All of the others
D -
InProcess
9-
Which attribute of the form tag allows you to specify the program to be
performed when submitting the form?
A -
submit
B -
method
C -
name
D -
program
10-
Which control must you have on master page?
A -
You must have the content page on a master page
B -
You must have the HTML control
C -
You must have the ContentPlaceHolder control on a master page