SilverlightShow: The Silverlight Navigation Framework Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: The Silverlight Navigation Framework <p>Pity UriMapping is sealed.</p> <p>In my scenario I've derived and created my custom UriMapper, but I want the UriMapping to have an additional property to be able to set a mapping to be remapped.</p> <p>i.e. first from {contacts} to ?type=contact, and then attach all other parameters.</p> <p>The current implementation of UriMapper is verbose and not too efficient, hope to see it improved.</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment8082 weitzhandler http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Tue, 22 May 2012 06:01:02 GMT RE: The Silverlight Navigation Framework <p>How can I do "destroy" for a page when user navigate to another page ?</p> <p>I need this because dynamics objects are creating in my Page1 constructor and error occurs when user navigate to Page2 and return to Page1 ("La propriété 'System.Windows.Controls.ContentControl.Content' est définie plusieurs fois" => 'System.Windows.Controls.ContentControl.Content' property is define more on time)</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment6048 Chris http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 04 May 2011 11:58:26 GMT RE: The Silverlight Navigation Framework <p>Excellent article! Really helped me understand Navigation in SL</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment6006 Pankaj Chamria http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Thu, 28 Apr 2011 08:28:19 GMT RE: The Silverlight Navigation Framework <p>Can refer to the content other than XAML, (ex. html) in frame navigation.</p> <p> </p> <p>DR</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment5910 DR http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Fri, 15 Apr 2011 21:27:15 GMT RE: The Silverlight Navigation Framework Thanks, just the right amount of detail to go with the well-written code. http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment5680 richw23 http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Fri, 11 Mar 2011 05:47:02 GMT RE: The Silverlight Navigation Framework <em>The article has been updated to the latest version of Silverlight and Visual Studio.</em> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment5143 lnikolov http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 22 Dec 2010 18:03:32 GMT RE: The Silverlight 3 Navigation Framework Thanks Martin .. Very neat description of the things. http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment4925 Hash http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Fri, 19 Nov 2010 17:13:13 GMT RE: The Silverlight 3 Navigation Framework email id is :    <a href="mailto:mayanktaneja@hotmail.com">mayanktaneja@hotmail.com</a> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment4612 Mayank Taneja http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 06 Oct 2010 14:08:06 GMT RE: The Silverlight 3 Navigation Framework <p>hey Sepp</p> <p>can u please send me the code for ur page....its really nice...i've been lookin on for this feature for quite sumtym now....</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment4611 Mayank Taneja http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 06 Oct 2010 14:07:17 GMT RE: The Silverlight 3 Navigation Framework Very cool very good!! i rate it 5! http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment3695 RSL http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Mon, 31 May 2010 17:33:43 GMT The Silverlight 3 Navigation Framework <p>Can you please give me a layout with -<br /> 1. Header.<br /> 2. Left Navigation (Collapsible Menu)<br /> 3. Content Page. (It should change as per the click on Collapsible Menu item).<br /> 4. Footer (with Current Content Page Name).<br /> 5. One Full Screen Button.<br /> Can you please send me the above functionality ASAP. I have an urgent requirement. All should be in Silverlight Application only. </p> <p>|--------------------------------------------------------|<br /> |            Header.xaml                                 |<br /> |--------------------------------------------------------|<br /> |                      |                                 |<br /> |left.xaml             |            content.xaml         |<br /> |                      |                                 |<br /> |Full Screen Btn|                                        |<br /> |--------------------------------------------------------|<br /> |              footer.xaml                               |<br /> |--------------------------------------------------------|</p> <p>my email id : hansraj@promactinfotech.co.in</p> <p> </p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment3655 Hansraj rathva http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Fri, 21 May 2010 14:27:57 GMT RE: The Silverlight 3 Navigation Framework <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">Basics of navigation:Frame in Microsoft Expression Blend 3 Project (silverlight)<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><o:p> </o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">I just want to do a very basic thing: to show two different XAML pages, say, Page1.xaml and Page2.xaml in two lateral areas of the MainPage.xaml.<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">As far as I understood from the manual, the container for the “Page” element is Frame. So, the code in the MainPage.xaml is the following:<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><UserControl<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" xmlns:local="clr-namespace:TesteFrameWork"<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">x:Class="TesteFrameWork.MainPage"<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">Width="640" Height="480"><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><o:p> </o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><Grid x:Name="LayoutRoot" Background="White"><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><Grid.RowDefinitions><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><RowDefinition/><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "></Grid.RowDefinitions><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><Grid.ColumnDefinitions><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><ColumnDefinition/><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "></Grid.ColumnDefinitions><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><navigation:Frame HorizontalAlignment="Left" Margin="0,0,0,8" Width="177" Source="/Page1.xaml"/><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><span>                </span><span>                </span></span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><TextBlock Height="49" Margin="216,73,313,0" VerticalAlignment="Top" Text="Some text" TextWrapping="Wrap"/><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                               </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "><navigation:Frame HorizontalAlignment="Right" Width="186" Source="/Page2.xaml"/><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span class="apple-tab-span" lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">                </span><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "></Grid><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; "></UserControl><o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">Unfortunately, the system fails to show the second page Page2.xaml, showing Page1.xaml instead.<o:p></o:p></span></p> <p style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><span lang="EN-GB" style="font-size: 8pt; font-family: arial; color: black; ">Is there any way to walk around this difficulty -- use a container other than Frame or something else???<o:p></o:p></span></p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment3565 Adriana Ferreira http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Sun, 09 May 2010 18:51:27 GMT RE: The Silverlight 3 Navigation Framework <p>Can you please give me a layout with -<br /> 1. Header.<br /> 2. Left Navigation (Collapsible Menu)<br /> 3. Content Page. (It should change as per the click on Collapsible Menu item).<br /> 4. Footer (with Current Content Page Name).<br /> 5. One Full Screen Button.<br /> Can you please send me the above functionality ASAP. I have an urgent requirement. All should be in Silverlight Application only. </p> <p>|--------------------------------------------------------|<br /> |            Header.xaml                                 |<br /> |--------------------------------------------------------|<br /> |                      |                                 |<br /> |left.xaml             |            content.xaml         |<br /> |                      |                                 |<br /> |Full Screen Btn|                                        |<br /> |--------------------------------------------------------|<br /> |              footer.xaml                               |<br /> |--------------------------------------------------------|</p> <p> </p> <p>my mail id <a href="mailto:ashok.just4u@gmail.com">ashok.just4u@gmail.com</a></p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2946 Ashok N http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Fri, 22 Jan 2010 08:02:55 GMT RE: The Silverlight 3 Navigation Framework <p>Hi,</p> <p>Does <span style="color: #0000ff;">this</span>.NavigationService.Navigate work inside the UserControl page <span style="color: #0000ff; font-size: 13px;"><</span><span style="color: #a31515; font-size: 13px;">UserControl</span><span style="color: #ff0000; font-size: 13px;"> </span><span style="font-size: 13px;"></span><span style="color: #ff0000; font-size: 13px;">x</span><span style="color: #0000ff; font-size: 13px;">:</span><span style="color: #ff0000; font-size: 13px;">Class</span><span style="color: #0000ff; font-size: 13px;">="Test2.MainPage". ?</span></p> <p>The this.NavigationService.Navigate is not available when I type it in the UserControl page. Is there a work around solution?</p> <p>TIA</p> <p>Nick</p> <p><span style="color: #0000ff; font-size: 13px;">  <p> </p> </span></p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2910 sl_Nick http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Thu, 14 Jan 2010 02:09:39 GMT RE: The Silverlight 3 Navigation Framework In previous post I wanted to say: each time I come to page, new instance of page is created. And it stays in memory forever?<br /> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2841 Mladen http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Thu, 24 Dec 2009 18:00:33 GMT RE: The Silverlight 3 Navigation Framework Hi, good job, we realy do need something like this framework. <p>I've tried to analyze memory footprint on default empty template project. </p> <p>Is it possible that page is constructed each time I come to this page and it stays in memory forever?</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2840 Mladen http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Thu, 24 Dec 2009 17:58:42 GMT RE: The Silverlight 3 Navigation Framework Is there a way to dispose the previous page (xaml) after the frame loads the next one? I mean... If we use the same frame for every pages, eventually it will have all the pages loaded in memory, right? <br /> <br /> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2834 Juan http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 23 Dec 2009 23:13:22 GMT RE: The Silverlight 3 Navigation Framework Is there a version of the demo app that works with the released Silverlight 3 version? When I open the sample code, I get numerous errors. http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2193 ro http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Sun, 02 Aug 2009 23:40:53 GMT RE: The Silverlight 3 Navigation Framework <p>Hi,</p> <p>is there a opportunity to give information back from page control to frame control?</p> <p>look at my page <a shape="rect" href="http://www.born2codebasic.net/" shape="rect">www.born2codebasic.net</a></p> <p>in frame control I do have a link to 'Sing in'. After singning in I want to change the text (or state) to log out. And give the link to my demo shop and so on free. Does anybody have an idea how I can solve this?</p> <p>thank you</p> <p>Sepp</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2078 Sepp http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 22 Jul 2009 14:13:56 GMT RE: The Silverlight 3 Navigation Framework <p>In the final SL3 release we have to put the uriMapper's name in the navigation:Frame :</p> <span style="color: #0000ff; font-size: 13px"><span style="color: #0000ff; font-size: 13px"> <p><</p> </span> <p> </p> </span> <p><span style="color: #a31515; font-size: 13px">navigation</span><span style="color: #0000ff; font-size: 13px">:</span><span style="color: #a31515; font-size: 13px">Frame</span><span style="color: #ff0000; font-size: 13px"> x</span><span style="color: #0000ff; font-size: 13px">:</span><span style="color: #ff0000; font-size: 13px">Name</span><span style="color: #0000ff; font-size: 13px">="MainContent"</span><span style="font-size: 13px"> </span><span style="color: #ff0000; font-size: 13px">NavigationFailed</span><span style="color: #0000ff; font-size: 13px">="MainContent_NavigationFailed"</span><span style="font-size: 13px"> <br /> </span><span style="color: #ff0000; font-size: 13px">HorizontalContentAlignment</span><span style="color: #0000ff; font-size: 13px">="Stretch"</span><span style="font-size: 13px"> </span><span style="color: #ff0000; font-size: 13px">VerticalContentAlignment</span><span style="color: #0000ff; font-size: 13px">="Stretch"</span><span style="font-size: 13px"> <br /> </span><span style="color: #ff0000; font-size: 13px">Grid.Row</span><span style="color: #0000ff; font-size: 13px">="2"</span><span style="color: #ff0000; font-size: 13px"> Grid.Column</span><span style="color: #0000ff; font-size: 13px">="0"</span><span style="font-size: 13px"> <br /> </span><strong><span style="color: #ff0000; font-size: 13px">UriMapper</span><span style="color: #0000ff; font-size: 13px">="{</span><span style="color: #a31515; font-size: 13px">StaticResource</span><span style="color: #ff0000; font-size: 13px"> uriMapper</span><span style="color: #0000ff; font-size: 13px">}"</span></strong><span style="font-size: 13px"> <br /> </span><span style="color: #ff0000; font-size: 13px">Margin</span><span style="color: #0000ff; font-size: 13px">="30,0,30,0"</span><span style="color: #ff0000; font-size: 13px"> Source</span><span style="color: #0000ff; font-size: 13px">="Home" /> <p> </p> </span></p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment2046 malbaladejo http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Sun, 19 Jul 2009 10:42:44 GMT RE: The Silverlight 3 Navigation Framework The NavigationContext property of the Page class allows you to access this QueryString and the parameters defined in it. Look again at the NavigationService and NavigationContext section of the article and if you have any question, don't hesitate to ask again! ;)<br /><br /><div>P.S. I forgot to sign in ... :)</div> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1732 Enrai http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Mon, 29 Jun 2009 16:54:58 GMT RE: The Silverlight 3 Navigation Framework - xaml query string I was wondering how you pick up the query string arguments for  the xaml pages, for example:<div><span style="line-height: 16px; font-family: consolas; font-size: 11px; "><pre style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; overflow-x: visible; overflow-y: visible; font-size: 8pt; width: 810px; color: black; line-height: 12pt; font-family: consolas, 'courier new', courier, monospace; background-color: white; "><span style="color: rgb(255, 0, 0); ">MappedUri</span><span style="color: rgb(0, 0, 255); ">="/Views/Items.xaml?type=news"</span></pre><pre style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; overflow-x: visible; overflow-y: visible; font-size: 8pt; width: 810px; color: black; line-height: 12pt; font-family: consolas, 'courier new', courier, monospace; background-color: white; "><span style="color: rgb(0, 0, 255); "><br /></span></pre><pre style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; margin-top: 0em; margin-right: 0em; margin-bottom: 0em; margin-left: 0em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; overflow-x: visible; overflow-y: visible; font-size: 8pt; width: 810px; color: black; line-height: 12pt; font-family: consolas, 'courier new', courier, monospace; background-color: white; "><span style="line-height: normal; white-space: normal; font-family: 'times new roman'; font-size: 16px; color: rgb(0, 0, 0); ">Is type=news accessible in Items.xaml.cs?</span></pre></span></div> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1731 Mark Sutton http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Mon, 29 Jun 2009 16:48:39 GMT RE: The Silverlight 3 Navigation Framework <em><strong>@ Steve </strong></em>I cannot reproduce that. I have created a new Navigation application, in the AboutPage.xaml I have added a Button that on click calls NavigationService.Navigate(new Uri("/Views/HomePage.xaml", UriKind.Relative)) and it navigates properly to the HomePage. <p><strong><em> @ Adam</em> </strong>For the first case you will get the following error message: <em>"No XAML was found at the location '/Views/Home1.htm'" </em>and<em> </em>for the second: <em>"Navigation is only supported to relative Uri's that are fragments, or begin with '/' or which contain ';component/'"</em>. So nor of these is possible. :)</p> <p><em><strong>@ ruddy</strong></em> I have managed to add a second frame in my MainPage.xaml, but no matter what it behaves the same as the first one. Apperantly the Frame behaviour is the same for the hosting page and it is inherited from the first Frame in the visual tree. In the other case I have added to the AboutPage.xaml and it worked properly, without inheriting anything from the Frame in the MainPage.xaml. Hope that helps! :)</p> <p>P.S. Sorry for the late answers, but for the last month I was buried in some projects and could not get to answer the comments here.</p> <br /> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1652 Enrai http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 10 Jun 2009 04:48:39 GMT Limitation: The Silverlight 3 Navigation Framework <p>It's true only one frame can be used!</p> <p>(But there's no error in create another frame, It's bug or )</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1651 ruddy http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Wed, 10 Jun 2009 04:12:11 GMT RE: The Silverlight 3 Navigation Framework Is NavigationService.Navigate(new Uri("/Views/HomePage.htm", UriKind.Relative)) or Is NavigationService.Navigate(new Uri(<a href="http://www.google.com/">http://www.google.com/</a>, UriKind.Absolute)) allowed? http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1502 Adam http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Thu, 23 Apr 2009 02:14:17 GMT RE: The Silverlight 3 Navigation Framework I call this:NavigationService.Navigate(new Uri("/Views/HomePage.xaml", UriKind.Relative)); <p> from the 'About' page and it doesn't goto the Home Page ?</p> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1500 Steve http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Tue, 21 Apr 2009 13:31:18 GMT RE: The Silverlight 3 Navigation Framework Martin, you are correct in the beta it must be named 'uriMapper' to work :-)<br /> http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx#comment1358 timheuer http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx Mon, 30 Mar 2009 16:22:05 GMT