Wrox ASP.NET 2 Beta Preview Study SECTION 2

xiaoxiao2021-03-06  43

Chapter 5 Navigation Control SiteMap control, read the web.sitemap file, providing the website map with Menu control, easy to use Menu, don't have to use DHTML to make the more hard Menu designed TreeView control, realize TREE View, you can use "Edit Treenode Database" to make future data display, set Node's TextField and Valuefield, showcheckboxs, you can place a Checkbox in front of Node, implement multiple choices

Chapter 6 Master Page is similar to WinForm's Visual Inheritence technology, which implements visual inheritance of Web Form, which is integrated with a master page for each page, and other Page can inherit from Master Page, so Son, not only the display effect but also the event, the master page is the parent class. Content Page is a subclass. The concept of OO has finally reached the difference between the content page and the ordinary ASPX Form on Web Form, one Yes in <% @ Page%>, there is a specified of the attribute value such as masterpagefile. The other is not These labels can not be modified to inherit from the display element on the master page, but can select Create Custom Content on ContentPlaceHold, create a CREATE CUSTOM Content, create a CONTENTPLACEHOLDER of , in this Custom Content can place the control, as a normal ASPX page about Nested Master Page, I didn't look at it, anyway, I know that there is such a one-lasting thing about the event triggering, Master Page Child Controls Initialization Master Page CHild Controls Initialization Master Page Initialization Content Page Initialization Content Page Load Master Page Load Master Page Child Control Load Content Page Child Control Load Caching questions about Master-Content Page of the OutPutCache can not be applied to the Master Page, or when the second call will complain, Only apply OutputCache to Content Page

转载请注明原文地址:https://www.9cbs.com/read-52553.html

New Post(0)