You are creating an ASP.NET application by using the .NET Framework 3.5. Users access the application by using different operating systems and different browsers. You plan to incorporate a new control in the
application. You need to ensure that the control meets the following business requirements: It can be accessed through the Microsoft Visual Studio .NET 2008 toolbox. It can operate without any other prerequisite controls.
Which type of control should you choose?
You are creating an ASP.NET application by using the .NET Framework 3.5. You need to create a visual element in the application to meet the following requirements: Custom logic can be implemented. The element can be used in multiple places on each page. The element can be used on multiple pages within the application. The element can be redistributed for use in other applications without sharing source code or layout files. What should you do?
You are creating an ASP.NET application by using the .NET Framework 3.5.
You create a custom Web server control to implement the shopping cart functionality in the application.
You add the following code fragment to the Web.config file of the application.
< sessionState mode=" SQLServer " />
You need to ensure that when the user re-opens the Web browser, the application retains the state of the shopping cart.
Which state management strategy should you use?
You are creating an ASP.NET application by using the .NET Framework 3.5. You create a Web form in your application by using a data-bound Web server control. The Web form displays employee information. You need
to ensure that the data-bound Web server control meets the following business requirements: It provides built- in sort capabilities. It displays multiple records by using a default tabular format. Which data-bound Web server control should you use?
You are creating an ASP.NET application by using the .NET Framework 3.5. You create a Web form in the application that allows users to provide personal information. You add a DropDownList control to the form to
capture the residential country of the user. The default item that the DropDownList control displays is the Select Country option. You need to ensure that users select a valid country other than the default option from the
DropDownList control. You also need to ensure that the form is created and maintained by using the minimum amount of development effort. Which validation control should you use?
You are creating an ASP.NET application by using the .NET Framework 3.5.
You use the built-in ASP.NET Web server controls in all the Web forms of the application.
You access and modify the properties of all Web server controls in the code-behind class of the Web forms.
You need to add custom client-side and AJAX behavior to the ASP.NET Web server controls.
What should you do?
You are creating an ASP.NET application by using the .NET Framework 3.5.
You need to ensure that the application meets the following requirements:
- The layout that must be applied to the pages in the application can be selected by the developers.
- The layout of the pages can be modified by the developers without the source code modification.
- A consistent page layout is maintained.
What should you do?
You are creating ASP.NET applications by using the .NET Framework 3.5.
The applications will be hosted on the same physical Web server.
You have the following page layout requirements:
- A common page layout that applies to all the ASP.NET pages across the Web applications
- All pages to automatically reflect changes that are made to the common page layout
You create a master page that provides the page layout.
You need to implement a solution that meets the layout requirements.
Which three additional tasks should you perform? (Each correct answer presents part of the solution. Choose
three.)
You are creating an ASP.NET application by using the .NET Framework 3.5.
The application displays a price list that contains 100 items. The customers use desktop computers, PDAs, mobile phones, or other mobile devices to access the application.
The application uses a master page that includes the following layout:
- A site header at the top of the page.
- A navigation structure at the side of the page.
- Content on the remaining space on the page.
You need to ensure optimal rendering of the price list for each customer, irrespective of the device category used. What should you do?
You are creating an ASP.NET application by using the .NET Framework 3.5. The application will allow end users to select a theme that will be applied to all the pages that the user visits. The preferred theme of the end
user will be stored in a profile property. You need to identify the appropriate method to apply the preferred theme to the page. Which method should you choose?