Tăng cường ứng dụng website bằng cách sử dụng Web Parts

Việc quản lý MusicMania muốn trang web của mình để cung cấp một giao diện người dùng tùy biến cho tất cả người dùng của nó. Người sử dụng sẽ có thể ẩn, hiển thị, và sắp xếp các thành phần trên trang chủ theo yêu cầu của họ. Như bước đầu tiên hướng tới việc thực hiện yêu cầu này, bạn cần phải tạo ra một trang Web phần, . Trang nên bao gồm một phần Web có hiển thị tình trạng sẵn có của cơ sở dữ liệu MusicMania. Điều kiện tiên quyết: Yêu cầu các giảng. | Enhancing Web Applications by Using Web Parts Chapter 9 r n Activity Creating a Web Parts Page L71 J Problem Statement The management of MusicMania wants its website to provide a customizable user interface to all its users. The users should be able to hide show and arrange the components on the home page according to their requirements. As the first step towards implementing this requirement you need to create a Web parts page . The page should include a Web part that displays the availability status of the MusicMania database. Prerequisite Ask your faculty to provide you the required starter files. Solution To create the Web parts page you need to perform the following tasks 1. Create a user control. 2. Add a new Web page. 3. Design the new Web page. 4. Test the application. Task 1 Creating a User Control To create a user control you need to perform the following steps 1. Open Microsoft Visual Studio. 2. Open the MusicMania website. 3. Right-click the application folder in the Solution Explorer window and select Add New Item. The Add New Item dialog box appears. 4. Select the Web User Control template under the Visual Studio installed templates section. 5. Type in place of in the Name text box. 6. Click the Add button. The page appears. 7. Switch to the Design view of the file if you are not already in the Design view. NIIT Enhancing Web Applications by Using Web Parts .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
5    58    1    29-04-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.