tailieunhanh - Professional ASP.NET 3.5 in C# and Visual Basic Part 87

Professional in C# and Visual Basic Part 87. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 17 Portal Frameworks and Web Parts directly in the code or you can create the zones within the table by dragging and dropping WebPartZone controls onto the design surface at appropriate places within the table. In Figure 17-4 the table border width is intentionally turned on and set to 1 in order to show the location of the Web zones in greater detail. Figure 17-5 shows what the sample from Listing 17-2 looks like in the Design view of Visual Studio 2008. Figure 17-3 When using Visual Studio 2008 note that by default this IDE creates a Microsoft SQL Server Express Edition file called and stores it in the App_Data folder of your Web Project. This database file is where the Portal Framework stores all the customization points. Note that if you want this portal framework to run from SQL Server 2000 2005 or 2008 you should follow the se-up instructions that are defined in Chapter 12. Now that you have seen the use of WebPartZone controls which are managed by the WebPartManager control the next section takes a closer look at the WebPartZone server control itself. Understanding the WebPartZone Control The WebPartZone control defines an area of items or Web Parts that can be moved minimized maximized deleted or added based on programmatic code or user preferences. When you drag and drop WebPartZone controls onto the design surface using Visual Studio 2008 the WebPartZone control is drawn at the top of the zone along with a visual representation of any of the items contained within the zone. You can place almost anything in one of the Web zones. For example you can include the following HTML elements when putting a runat server on the element HTML server controls 817 Chapter 17 Portal Frameworks and Web Parts Web server controls User controls Custom controls Figure 17-4 WebPartZone controls are declared like this asp WebPartZone ID WebPartZone1 Runat server asp WebPartZone 818 Chapter 17 Portal Frameworks and Web Parts Figure 17-5 The .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.