13.2. Enhancing the Navigation

The first task to improve the application is to modify the navigation. Let's replace the current hyperlink-based menu structure with RadMenu so we have a better experience. Open the file MainPage.xaml in the Silverlight application. Add the namespaces shown in Listing 13-1 to gain access to the navigation controls.

Example 13.1. Telerik Namespaces to Have Access to the Navigation Controls
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;
                assembly=Telerik.Windows.Controls"
xmlns:telerikNavigation= "clr-namespace:Telerik.Windows.Controls;
                        assembly=Telerik.Windows.Controls.Navigation"

Now find the navigation links shown in Listing 13-2 and replace them with the RadMenu declaration in Listing 13-3.

Example 13.2. ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.