locked
Navigation Framework Q RRS feed

  • Question

  • I am using the Business App template that comes with the navigation framework. I am trying to add another level of navigation in one of the top level pages. I am having issues with the second level navigation telling me that the XAML was not found: Folder Structure: Views |_ Home.xaml |_ Reports.xaml |_ ReportViews (this is a folder) |_ Report1.xaml |_ Report2.xaml here is how my URI mapper looks for the second level nav: I am sure i screwed up the uri mapping. Someone please help. Thanks
    Thursday, June 10, 2010 11:38 AM

Answers

  • <uriMapper:UriMapper>

    <uriMapper:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>

    <uriMapper:UriMapping Uri="Developer" MappedUri="/Views/Developer.xaml"/>

    <uriMapper:UriMapping Uri="ForumThread/{id}" MappedUri="/Views/Forums/ForumThread.xaml?id={id}" />

    </uriMapper:UriMapper>

     
    Thursday, June 10, 2010 4:37 PM

All replies

  • <uriMapper:UriMapper>

    <uriMapper:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>

    <uriMapper:UriMapping Uri="Developer" MappedUri="/Views/Developer.xaml"/>

    <uriMapper:UriMapping Uri="ForumThread/{id}" MappedUri="/Views/Forums/ForumThread.xaml?id={id}" />

    </uriMapper:UriMapper>

     
    Thursday, June 10, 2010 4:37 PM
  • Hi,

    Your current URI mapper is not posted:), please repost the xaml using the "Source Code" icon on the toolbox.

    Above post mentioned a way to use URI mapper to navigate to the sub folder, please give it a try and let's know if it works well.

    Saturday, June 12, 2010 2:01 AM