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

Professional in C# and Visual Basic Part 88. 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 drop-down list that you created earlier you have already provided the end user with this capability. He simply enters the Design mode and this allows for this type of movement. Figure 17-9 The Design option in the drop-down list changes the page so that the user can see the zones defined on the page as illustrated in Figure 17-10. From this figure you can see the three zones WebPartZonel WebPartZone2 and WebPartZone3 . At this point the end user can select one of the Web Parts contained in one of these zones and either change its order in the zone or move it to an entirely different zone on the page. To grab one of the Web Parts the user simply clicks and holds the left mouse button on the title of the Web Part. When done correctly the crosshair which appears when the end user hovers over the Web Part s title turns into an arrow. This means that the user has grabbed hold of the Web Part and can drag it to another part of the page. While the user drags the Web Part around the page a visual representation of the item appears see Figure 17-11 . In this state the Web Part is a bit transparent and its location in the state of the page is defined with a blue line the darker line shown at the top of WebPartZone3 . Releasing the left mouse button drops the Web Part at the blue line s location. 827 Chapter 17 Portal Frameworks and Web Parts Figure 17-10 After the end user places all the items where he wants them the locations of the items on the page are saved for later use. When he reopens the browser everything is then drawn in the last state in which he left the page. This is done on a per-user basis so any other users browsing to the same page see either their own modified results or the default view if it is a first visit to the page. The user can then leave the Design view by opening the list of options from the drop-down list of modes and selecting Browse. Another way to move Web Parts is to enter the Catalog mode of the .

TỪ KHÓA LIÊN QUAN