Home » [Free] Get all latest Microsoft 70-515 Actual Tests 221-230

[Free] Get all latest Microsoft 70-515 Actual Tests 221-230

Ensurepass

QUESTION 221

You work as an ASP.NET Web Application Developer for SomeCompany.

 

The company uses Visual Studio .NET 2010 as its application development platform.

 

You create an ASP.NET Web application using .NET Framework 4.0.

 

You create a Web page in the application.

 

The Web page will get large sets of data from a data source.

 

You add a DataPager control to the page.

 

You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control.

 

What will you do?

 

A.

Use NextPreviousPagerField.

B.

Use NumericPagerField.

C.

Use PreviousPagerField.

D.

Use NextPagerField.

E.

Use TemplatePagerField.

 

Correct Answer: E

 

 

QUESTION 222

You work as an ASP.NET Web Application Developer for SomeCompany.

 

The company uses Visual Studio .NET 2010 as its application development platform.

 

You are creating an ASP.NET Web application using .NET Framework 4.0.

 

The Web application comprises a class named Employee with properties named as First Name, Last Name, and Age.

 

You add a Web page in which you get a list of Employee objects and display those objects in a GridView control.

 

You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years.

 

What will you do to accomplish this?

 

A.

Use the RowCommand event of the GridView control.

B.

Use the SelectedlndexChanged event of the GridView control.

C.

Use the RowDataBound event of the GridView control.

D.

Use the RowEditing event of the GridView control.

E.

Use the RowUpdated event of the GridView control.

 

Correct Answer: C

 

 

QUESTION 223

Which tool is used to simplify the migration, management and deployment of IIS Web servers, Web applications and Web sites?

 

A.

System Designer

B.

XCOPY deployment

C.

Deployment Designer

D.

Web Deployment

 

Correct Answer: D

 

 

QUESTION 224

You work as an ASP.NET Web Application Developer for SomeCompany.

 

The company uses Visual Studio .NET 2010 as its application development platform.

 

You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0.

 

Now, you are deploying the ASP.NET Web application to a remote server.

 

You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server.

 

Which of the following deployment methods will you select to accomplish this?

 

A.

Web Setup project

B.

Web-based deployment

C.

Deployment manifest

D.

Web Deployment Tool

 

Correct Answer: D

 

QUESTION 225

Which class is used to specify a set of features to support on the XrnlReader object created by the Create method?

 

A.

XmlReaderSettings

B.

XmlSecureResolver

C.

XmlValidatingReader

D.

XmlTextReaderSelectMany(c => c.CustomerAddresses).Count()

 

Correct Answer: A

 

 

QUESTION 226

DRAG DROP

You work as an ASP.NET Web Application Developer for SomeCompany.

 

The company uses Visual Studio .NET 2010 as its application development platform.

 

You create an ASP.NET Web application using .NET Framework 4.0.

 

The application has an ASP.NET page.

 

The page contains a method named GetCustomerOrderData that returns a DataSet.

 

GetCustomerOrderData contains two DataTable objects named CustomerDetails and OrderDetails, respectively.

 

You are required to display the data in OrderDetails in a DetailsView named ViewDetail.

 

Choose the appropriate steps in the correct order to accomplish this.

 

clip_image001

 

Correct Answer:

clip_image002

 

 

QUESTION 227

DRAG DROP

You have an ASP.NET web application that uses master pages and content pages.

 

You must initialize and close multiple resources from different events.

 

In what order do events in the master pages and content pages occur?

 

clip_image003

 

Correct Answer:

clip_image004

 

 

QUESTION 228

DRAG DROP

You are developing an ASP.NET website that uses multiple layers of themes.

 

You want to ensure that attributes will be correctly applied to controls when multiple themes specify the same control attribute.

 

What is the order of precedence that defines how ASP.NET applies themes?

 

clip_image005

 

Correct Answer:

clip_image006

 

 

QUESTION 229

mouseenter jQuery

 

In a page there is a div (I guess it was a div) and you need to execute a javascript function when if first moves the mouse over the element

 

<div id=”divheader”></div>

 

A.

$(“#divheader”).mouseenter(somefunction);

B.

$(“#divheader”).mouseenter(somefunction);

C.

$(“.divheader”).mouseenter(somefunction);

D.

$(“.divheader”).mouseenter(somefunction);

 

Correct Answer: A

Explanation:

$(‘#outer’).mouseenter(function() {$(‘#log’).append(‘<div>Handler for .mouseenter() called.</div>’);} );

http://api.jquery.com/mouseenter/

 

 

QUESTION 230

Ajax extender

 

[TargetControlType(typeof(TextBox))]

 

public class DisabledButtonExtender : ExtenderControlBase

 

{

 

[ExtenderControlProperty]

 

[DefaultValue(“”)]

 

[IDReferenceProperty(typeof(Button))]

 

Create an extender that extends a textbox and assigns to a button;

 

Using wich combination?

 

A.

[TargetControlType(typeof(TextBox))]

[IDReferenceProperty(typeof(Button))]

 

Correct Answer: A

Explanation:

[TargetControlType(typeof(TextBox))]

public class DisabledButtonExtender : ExtenderControlBase {

[ExtenderControlProperty]

[DefaultValue(“”)]

[IDReferenceProperty(typeof(Button))]

http://www.asp.net/web-forms/tutorials/ajax-control-toolkit/getting-started/creating-a- custom-ajax-control-toolkitcontrol-extender-cs

 

Instant Access to Download Testing Software & PDF File for Microsoft 70-515 Real Exam

Instant Access to Try Microsoft 70-515 Free Demo

HOT EXAM!

Name of author

Name: admin