Microsoft TS: Web Applications Development with Microsoft .NET Framework 4 - 70-515 FREE EXAM DUMPS QUESTIONS & ANSWERS

You are implementing an ASP.NET application.
The application includes a Person class with property Age.
You add a page in which you get a list of Person objects and display the objects in a GridView control.
You need to add code so that the GridView row is highlighted in red if the age of the person is less than 18.
Which GridView event should you handle?
Correct Answer: A Vote an answer
You are building an ASP.NET control.
The control displays data by using a table element with a class attribute value of Results.
The control should expose a client-side event named onrowselected that fires when a check box in a
table row is selected.
You need to implement this client-side event.
What should you do?
Correct Answer: B Vote an answer
You are implementing an ASP.NET Web application.
Users will authenticate to the application with an ID.
The application will allow new users to register for an account.
The application will generate an ID for the user based on the user's full name.
You need to implement this registration functionality.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: A,C Vote an answer
You are implementing an ASP.NET AJAX page.
You add two UpdatePanel controls named pnlA and pnlB. pnlA contains an UpdatePanel control named
pnlAInner in its content template.
You have the following requirements.
Update panels pnlA and pnlB must refresh their content only when controls that they contain cause a postback.
Update panel pnlAInner must refresh its content when controls in either pnlA or pnlB or pnlAInner cause
a postback.
You need to configure the panels to meet the requirements. What should you do?
Correct Answer: C Vote an answer
You use the following declaration to add a Web user control named TestUserControl.ascx to an ASP.NET page named TestPage.aspx.
<uc:TestUserControl ID="testControl" runat="server"/>
You add the following code to the code-behind file of TestPage.aspx.
private void TestMethod()
{
...
}
You define the following delegate.
public delegate void MyEventHandler();
You need to add an event of type MyEventHandler named MyEvent to TestUserControl.ascx and attach the
page's TestMethod method to the event.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: A,C Vote an answer
You are developing an ASP.NET Web page.
The page includes a List<Product> instance.
You add a FormView control to display a single Product from this list.
You need to bind the list to the FormView control.
Which FormView property should you set in the code-behind file?
Correct Answer: A Vote an answer
You have a master page custom.master.
You create a nested.master page using it.
You then have a content page that uses the nested.master as its master page.
Which code would you use to get a string property from custom.master?
Correct Answer: C Vote an answer
You are developing an ASP.NET web application. Your designer creates a theme named General for
general use in the application.
The designer also makes page-specific changes to the default properties of certain controls.
You need to apply the General theme to all pages, and you must ensure that the page-specific
customizations are preserved.
What should you do?
Correct Answer: A Vote an answer
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 makes use of SqlMembershipProvider.
You need to test the application locally and then deploy it to numerous production servers.
You must ensure that each and every deployed application accesses the identical production database in a
Microsoft SQL Server.
What will you do?
(Each correct answer represents a part of the solution. Choose two.)
Correct Answer: C,E Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
0
0
0
10