How to use the navigation controlsASP.NET’s site navigation features a dịch - How to use the navigation controlsASP.NET’s site navigation features a Việt làm thế nào để nói

How to use the navigation controlsA

How to use the navigation controls
ASP.NET’s site navigation features are designed to simplify the task of creating menus and other navigation features that let users find their way around your web site. To implement these features, ASP.NET provides a site map data source control and three navigation controls.
An introduction to the navigation controls
Figure 11-1 shows a page from the Shopping Cart application that you’ve been working with. It illustrates the three navigation controls that ASP.NET provides in the Navigation group of the Toolbox.
The Menu control creates menus that expand when you hover the mouse over a menu item that contains subitems. If, for example, you hover the mouse over the Support item in the menu in this figure, a submenu with these items is displayed: Customer Service, Product Support, and Site Map.
The SiteMapPath control displays a list of links that lead from the web site’s home page to the current page. This makes it easy for the user to return to the home page or to a parent of the current page. These links are sometimes called bread crumbs because they let the user find his or her way back to the home page.
The TreeView control displays the pages of a web site in a tree structure that’s similar to a directory tree displayed by Windows Explorer. The user can expand or collapse a node by clicking the icon that appears next to each node that has children. If, for example, the user clicks on the icon before the Categories item in this figure, the children will be hidden.
The TreeView and the Menu controls are used with a SiteMapDataSource control that binds the controls to a file named web.sitemap. This file contains the XML that defines the structure of the pages that make up the web site.
In many cases, you’ll use a Menu or SiteMapPath control in a master page. That way, these controls will be available on any page that uses the master page. You may also want to offer a separate Site Map page that includes a TreeView control so the user can locate any page within the web site
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
How to use the navigation controls
ASP.NET’s site navigation features are designed to simplify the task of creating menus and other navigation features that let users find their way around your web site. To implement these features, ASP.NET provides a site map data source control and three navigation controls.
An introduction to the navigation controls
Figure 11-1 shows a page from the Shopping Cart application that you’ve been working with. It illustrates the three navigation controls that ASP.NET provides in the Navigation group of the Toolbox.
The Menu control creates menus that expand when you hover the mouse over a menu item that contains subitems. If, for example, you hover the mouse over the Support item in the menu in this figure, a submenu with these items is displayed: Customer Service, Product Support, and Site Map.
The SiteMapPath control displays a list of links that lead from the web site’s home page to the current page. This makes it easy for the user to return to the home page or to a parent of the current page. These links are sometimes called bread crumbs because they let the user find his or her way back to the home page.
The TreeView control displays the pages of a web site in a tree structure that’s similar to a directory tree displayed by Windows Explorer. The user can expand or collapse a node by clicking the icon that appears next to each node that has children. If, for example, the user clicks on the icon before the Categories item in this figure, the children will be hidden.
The TreeView and the Menu controls are used with a SiteMapDataSource control that binds the controls to a file named web.sitemap. This file contains the XML that defines the structure of the pages that make up the web site.
In many cases, you’ll use a Menu or SiteMapPath control in a master page. That way, these controls will be available on any page that uses the master page. You may also want to offer a separate Site Map page that includes a TreeView control so the user can locate any page within the web site
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Làm thế nào để sử dụng điều hướng điều khiển
các tính năng điều hướng trang web ASP.NET được thiết kế để đơn giản hóa các nhiệm vụ tạo ra các menu và các tính năng điều hướng khác, cho phép người sử dụng tìm cách của họ xung quanh trang web của bạn. Để thực hiện các tính năng này, ASP.NET cung cấp một bản đồ trang web kiểm soát nguồn dữ liệu và ba điều hướng.
Một giới thiệu về các hướng điều khiển
Hình 11-1 cho thấy một trang từ các ứng dụng Giỏ hàng mà bạn đã làm việc với. Nó minh họa ba chuyển hướng kiểm soát mà ASP.NET cung cấp trong nhóm Navigation của Toolbox.
Việc kiểm soát đơn tạo ra các menu mở rộng khi bạn di chuyển chuột qua một mục menu có chứa subitems. Nếu, ví dụ, bạn di chuột qua mục Hỗ trợ trong các trình đơn trong con số này, một menu với các mặt hàng này được hiển thị: Dịch vụ khách hàng, hỗ trợ sản phẩm, và Site Map.
Các màn hình kiểm soát SiteMapPath một danh sách các liên kết dẫn từ trang chủ trang web của trang hiện tại. Điều này làm cho nó dễ dàng cho người sử dụng để trở về trang chủ hoặc bố mẹ của trang hiện tại. Các liên kết này đôi khi được gọi là mẩu bánh mì vì chúng cho phép người sử dụng tìm mình hoặc theo cách của mình trở lại trang chủ.
Các màn hình điều khiển TreeView các trang của một trang web trong một cấu trúc cây đó là tương tự như một cây thư mục hiển thị trong Windows Explorer. Người dùng có thể mở rộng hoặc thu gọn một nút bằng cách nhấn vào biểu tượng xuất hiện bên cạnh mỗi nút có trẻ. Nếu, ví dụ, người dùng nhấp chuột vào biểu tượng trước các mục Categories trong hình này, các em sẽ được ẩn.
Các TreeView và các điều khiển đơn được sử dụng với một điều khiển SiteMapDataSource mà gắn bó với các điều khiển vào một tập tin có tên web.sitemap. Tập tin này có chứa XML định nghĩa cấu trúc của trang, tạo nên trang web.
Trong nhiều trường hợp, bạn sẽ sử dụng một Menu hoặc kiểm soát SiteMapPath ở một trang chủ. Bằng cách đó, các điều khiển sẽ xuất hiện trên bất kỳ trang nào có sử dụng trang chủ. Bạn cũng có thể muốn cung cấp trang đồ trang web riêng biệt bao gồm một điều khiển TreeView để người dùng có thể xác định vị trí bất kỳ trang nào trong trang web
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: