TAILIEUCHUNG - Apress pro Silverlight 3 in C# phần 5

Microsoft® Silverlight™ là một plug-in đa nền, đa trình duyệt nhằm cung cấp các ứng dụng giàu tương tác và các trải nghiệm media dựa trên .NET thế hệ kế tiếp cho Web. Silverlight cung cấp mô hình lập trình động hỗ trợ AJAX, VB, C#, Python, và Ruby, và tích hợp với các ứng dụng Web hiện tại. | CHAPTER 7 NAVIGATION because it allows you to use links that link not just to the entry point of an application but also to some record or state inside that application. Tip With a little more effort you can use deep linking as a starting point for search engine optimization SEO . The basic idea is to create multiple HTML or pages that lead to different parts of your Silverlight application. Each page will point to the same XAP file but the URI will link to a different page inside that application. Web search engines can then add multiple index entries for your application one for each HTML or page that leads into it. URI integration is obviously a convenient feature but it also raises a few questions which are outlined in the following sections. What Happens If the Page Has More Than One Frame The URI fragment indicates the page that should appear in the frame but it doesn t include the frame name. It turns out that this system really only works for Silverlight applications that have a single frame. Applications that contain two or more frames are considered to be a relatively rare occurrence. If you have more than one frame they will all share the same navigation path. As a result when your code calls Navigate in one frame or when the user enters a URI that includes a page name as a fragment the same content will be loaded into every frame. To avoid this problem you must pick a single frame that represents the main application content. This frame will control the URI and the browser history list. Every other frame will be responsible for tracking its navigation privately with no browser interaction. To implement this design set the JournalOwnership property of each additional frame to OwnJournal. From that point on the only way to perform navigation in these frames is with code that calls the Navigate method. What Happens If the Startup Page Doesn t Include a Frame Control Pages with multiple frames aren t the only potential problem with the .

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.