How do you force a line break at a specific location within literal text?
A -
Add a Br element where you want the line break to occur
B -
Type at the end of the line
C -
Add a P element where you want the line break to occur
D -
None of the others
2-
How do you manage states in asp.net application
A -
Application Objects
B -
Viewstate
C -
Session Objects
D -
All of the others
3-
HTTP is known as a stateless protocol because
A -
after an application generates a web page, the application ends and its data is lost
B -
the browser that sends an HTTP request for an application has no way of knowing what server was used to process previous requests for the application
C -
the server that receives an HTTP request for a web page has no way to associate the browser that request with its previous requests
D -
after the web page generated by an application is returned to the client in an HTTP response, the session ends
4-
If you display the following web-page:
The words "The beginning" will be displayed in:
A -
green
B -
red
C -
The default color (black for most browsers)
D -
blue
5-
If you dont set the Wxprires property of a per persistent cookie, the cokie
A -
expires based on the default value set for the application
B -
expires at the end of the session
C -
doesnt expire
D -
expires based on the default value set by the browser
6-
If you set the AutoPostBack property of a control to True, the page is posted
back to the server
A -
when the value of the control changes, but only if view state is enabled for the control
B -
only if the IsPostBack property of the page is set to True
C -
whenever the value of the control changes
D -
when you change the value of the control and then click a button control
7-
If you want the same error message to be displayed in the validator and the
validation summary control, you
A -
set the ErrorMessage property to the message and the Display property to Dynamic
B -
set the ErrorMessage property to the message and dont set the Text property
C -
set the Text property to the message and dont set the ErrorMessage property
D -
set the ErrorMessage property to the message and the Display property to Static
8-
If an XML doesnt contain any syntax violations, it is said to be ____
A -
well coded
B -
syntactically clean
C -
strongly typed
D -
well formed
9-
If you want to apply the master page to only a specific subset of pages (such as
pages contained within a specific folder of your application), you can use the ____
element within the web.config file.
A -
<configuration>
B -
<appSettings>
C -
<system.web>
D -
<location>
10-
In the Design view in Visual Studio 2005 of an ASP.NET web page, what is the
easiest way to create an event handler for the default event of a SP.NET server control?
A -
Double-click the control
B -
Right-click the control and select Create Handler
C -
Open the code-behind page and write the code
D -
Drad an event handler from the ToolBox to the desired control