TAILIEUCHUNG - ASP.NET 4 Unleased - p 105

Bạn có thể nhấp vào liên kết Trang chủ do người điều khiển SiteMapPath để điều hướng đến trang chủ của website. SiteMapPath này sử dụng cả hai tiêu đề và các thuộc tính mô tả từ yếu tố có trong các tập tin . Các thuộc tính tiêu đề được sử dụng Nghe Đọc ngữ âm | 1014 CHAPTER 22 Using the Navigation Controls FIGURE Breadcrumb trail at . FIGURE Displaying the SiteMapPath control. From the Library of Wow eBook Using the SiteMapPath Control 1015 LISTING UsingSiteMapPath @ Page Language C DOCTYPE html PUBLIC - W3C DTD XHTML EN http TR xhtml11 DTD html xmlns http 1999 xhtml head id Head1 runat server title Display SiteMapPath title head body form id form1 runat server div 22 asp SiteMapPath id SiteMapPath1 Runat server hr h1 Displaying a SiteMapPath Control h1 div form body html You can click the Home link rendered by the SiteMapPath control to navigate to the website s home page. The SiteMapPath uses both the title and description attributes from the siteMapNode elements contained in the file. The title attribute is used for the node link text and the description attribute is used for the node tool tip. NOTE Typically you do not add a SiteMapPath control to individual pages in your website. If you add a SiteMapPath control to a Master Page you can display the SiteMapPath control automatically on every page. To learn more about Master Pages see Chapter 5 Designing Websites with Master Pages. The SiteMapPath control supports the following properties ParentLevelsDisplay Enables you to limit the number of parent nodes displayed. By default a SiteMapPath control displays all the parent nodes. PathDirection Enables you to reverse the order of the links displayed by the SiteMapPath control. Possible values are RootToCurrent the default or CurrentToRoot. From the Library of Wow eBook 1016 CHAPTER 22 Using the Navigation Controls PathSeparator Enables you to specify the character used to separate the nodes displayed by the SiteMapPath control. The default value is . RenderCurrentNodeAsLink Enables you to render the SiteMapPath node that represents the current page as a link. By default the current node is not rendered as a link. .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.