Deep linking is an unique feature of RadNavigation allowing you to use page navigation by simply changing the URL in the browser address bar. Now you can provide a link directly to every page from your application. Implementing this RadNavigation feature is just as easy as using the other navigation classes all you have to do is just follow the next steps:
1. Create Silverlight application.
In order to use deep linking in page navigation scenario you have to make sure that any changes in the state the page is reflected to the browser’s address (bookmark). To do this you have two choices:
- If you do not want to use AjaxBrowserHistory (Back/Forward buttons of the browser) functionality set:
NavigationService service = NavigationService.GetNavigationService();
RadNavigation framework uses the NavigationIdentifier property of RadPage in order to change borwser bookmarks while navigating between pages. By default its value is set to the full name of the RadPage class. But if you prefer to use can custom navigation identifiers or custom browser bookmarks. You can also navigate to the same page but with different content and different browser identifier.
The Silverlight application below shows how you can use all these features of the RadNavigation framework(The full source code you can find attached at the end of the blog post):
We see that you have already chosen to receive marketing materials from us. If you wish to change this at any time you may do so by clicking here.
Thank you for your continued interest in Progress. Based on either your previous activity on our websites or our ongoing relationship, we will keep you updated on our products, solutions, services, company news and events. If you decide that you want to be removed from our mailing lists at any time, you can change your contact preferences by clicking here.