ASP.NET 2.0 ships with an awesome new framework knows as
Portal Framework, giving you the choice to select the contents you want and personalize the portal to your preference. Introducing
Web Parts. Web Parts are ideal for designing pages with objects that the end-user can open, close, minimize, maximize or move from one part of the page to another. Below are some snapshots from my example to make things clear. (click an image to enlarge in a new window)
When you first open the page you see the page in its default layout | |
Selecting 'Close' from the dropdown that appears at the top of each object closes the Web part which cannot be recovered even if we close the browser. | |
Select 'Catalog Display mode' from the dropdown to enable editing on the page, now all the objects which have been closed will appear as a checkbox list, you can click on 'ASP.NET 2.0 Beta Preview' and Click 'Add' to re-appear on the page. | |
Additionally you can drag and drop objects on each defined web parts to re-arrange the layout to your choice.(awesome!) | |
Download the code
# posted by Zubair.NET! @ 12:21 PM