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

Question: You work as an application developer at Company.com. You make use of Microsoft .NET Framework 3.5 to create a Microsoft ASP.NET application. You application contains a single master page with a static navigation menu. All content pages reference the master pag You want the content pages to replace the static navigation menu with their own navigation menu if one is require What should you do? Your best option would be to add the following to the content page: <asp:Content PlaceHolderID=”menuHolder”> <asp:menu ID=”menuCtrl” runat=”server”> </ asp: menu> </asp:Content> Your best option would be to add the following to the Page_Load … Click here to continue…..

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

Question: You work as a Web Developer at Company.com. You are in the process of creating a Web application that uses Microsoft ASP.NET 3.5. You create a folder named Dark in the App_Themes folder of the Web application. You also add four skin files to this folder. You have to make sure that the controls on a page have their appearances overridden by the control definitions defined in the skin files. What should you do? Which Page directive should you use? You should use the page directive: <%@ Page StyleSheetTheme=”App_Themes.Dark”/> You should use the page directive: <%@ Page Theme=”App_Themes.Dark”/> You … Click here to continue…..

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

Question: You work as an application developer at Company.com. You make use of .NET Framework 3.5 to create an ASP.NET application. You application contains a CapEval class declared using the following code:

The device filter element below is added to the Web.config fil

Management wants you to write a code segment to confirm whether the size of the display is less than 80 characters. You should thus determine the appropriate code segment that will accomplish this. What should you do? Your best option would be to use the following code segment: MobileCapabilities thisMobile; thisMobile = Request.Browser as MobileCapabilities; … Click here to continue…..

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

Question: You work as an application developer at Company.com. You make use of .NET Framework 3.5 to create an ASP.NET application. You write the code below in order to add a Calendar server control to the Web pag

You receive an instruction from the senior developer to disable Saturdays and Sundays in the Calendar control. You thus need to determine the appropriate code you need to add to the Cal1 DayRender event handler. What should you do? You should consider adding: if (e.Day.IsWeekend) { if (Cal1.SelectedDates.Contains(e.Day.Date)) Cal1.SelectedDates.Remove(e.Day.Date); } You should consider adding: List<DateTime> list = new List<DateTime>(); foreach (DateTime … Click here to continue…..

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

Question: You work as an application developer at Company.com. You are in the process of creating a Microsoft ASP.NET application that uses Microsoft .NET Framework 3.5. Your application contains a Web form that includes AJAX-enabled controls. You make use of the code below to create the Web form:

A client script is dynamically registered as soon as the updFirstPanel UpdatePanel control is update The Web form contains a code-behind fil The code below is written in the file: (The line numbers is included for reference purposes) 1 Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) 2 If … Click here to continue…..