PrepAway - Latest Free Exam Questions & Answers

Category: 70-562

Exam 70-562: TS: Microsoft .NET Framework 3.5, ASP.NET Application Development

What should you do to ensure that the requirements shown in the following table are met?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You write the following code fragment. (Line numbers are included for reference only.)
01 <asp:UpdatePanel ID="upnData" runat="server"
02 ChildrenAsTriggers="false" UpdateMode="Conditional">
03 <Triggers>
04
05 </Triggers>
06 <ContentTemplate>
07 <!– more content here –>
08 <asp:LinkButton ID="lbkLoad" runat="server" Text="Load"
09 onclick="lbkLoad_Click" />
10 <asp:Button ID="btnSubmit" runat="server" Text="Submit"
11 Width="150px" onclick="btnSubmit_Click" />
12 </ContentTemplate>
13 </asp:UpdatePanel>
14 <asp:Button ID="btnUpdate" runat="server" Text="Update"
15 Width="150px" onclick="btnUpdate_Click" />
You need to ensure that the requirements shown in the following table are met.

exhibit What should you do?

What should you do to ensure that the application displays the details of the client-side object?

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.
You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.
You need to ensure that the application displays the details of the client-side object on the debugger console.
What should you do?

What should you do to configure the application to use the ASP.NET Framework version 3.5 …?

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.
You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.
What should you do?

Which two actions should you perform to configure the Internet Explorer to prompt you to debug the script?

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.
A JavaScript code segment in the AJAX application does not exhibit the desired behavior.
Microsoft Internet Explorer displays an error icon in the status bar but does not prompt you to debug the script.
You need to configure the Internet Explorer to prompt you to debug the script.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

What should you do to ensure that the application successfully updates each caption and stores it in the datab

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application.
You write the following code fragment.
<asp:FormView DataSourceID="ObjectDataSource1" DataKeyNames="PhotoID" runat="server">
<EditItemTemplate>
<asp:TextBox Text='<%# Bind("Caption") %>’ runat="server"/>
<asp:Button Text="Update" CommandName="Update" runat="server"/>
<asp:Button Text="Cancel" CommandName="Cancel" runat="server"/>
</EditItemTemplate>
<ItemTemplate>
<asp:Label Text='<%# Eval("Caption") %>’ runat="server" />
<asp:Button Text="Edit" CommandName="Edit" runat="server"/>
</ItemTemplate>
</asp:FormView>
When you access the Web page, the application throws an error.
You need to ensure that the application successfully updates each caption and stores it in the database.
What should you do?

What should you do to ensure that the error message displayed in the validation control ?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You write the following code fragment. (Line numbers are included for reference only.)
01 <asp:RequiredFieldValidator
02 ID="rfValidator1" runat="server"
03 Display="Dynamic" ControlToValidate="TextBox1"
04
05 >
06
07 </asp:RequiredFieldValidator>
08
09 <asp:ValidationSummary DisplayMode="List"
10 ID="ValidationSummary1" runat="server" />
You need to ensure that the error message displayed in the validation control is also displayed in the validation summary list.
What should you do?


Page 1 of 812345...Last »