images Workshop: Practicing with Views and Navigation

In this section, you'll create a new view and add a link to it in the menu (part 1). You will then create another view that you pass data to as a query string parameter (part 2). Finally, you will map a custom URI, demonstrating how you can make the URI “friendlier” in the address bar (part 3).

Part 1: Creating a New View

In this first exercise, let's create a new view and add a link to it.

  1. Open the AdventureWorks solution you created in Chapter 1.
  2. Add a new item to the Views folder in your project called ProductListView.xaml, using the Silverlight Page item template.

    Figure 3-4. Adding a new ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.