<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Forward- and back-button support in Silverlight	</title>
	<atom:link href="https://www.timo-ernst.net/blog/2010/03/29/forward-and-back-button-support-in-silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.timo-ernst.net/blog/2010/03/29/forward-and-back-button-support-in-silverlight/</link>
	<description>Developer • YouTuber • Blogger</description>
	<lastBuildDate>Thu, 26 Sep 2019 06:42:50 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Timo		</title>
		<link>https://www.timo-ernst.net/blog/2010/03/29/forward-and-back-button-support-in-silverlight/#comment-13982</link>

		<dc:creator><![CDATA[Timo]]></dc:creator>
		<pubDate>Thu, 17 Mar 2011 22:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.timo-ernst.net/?p=2043#comment-13982</guid>

					<description><![CDATA[As you can see at date of the blog article, the information provided here is already almost 1 year old.
Since then, Silverlight has made huge progress and many things changed and to be honest, I am not really up-to-date regarding SL development.

However, although using a navigation component would probably be the easiest way, I think that it&#039;s possible to manipulate the forward and backward buttons manually.

The basic trick behind it is to manipulate the URL by modifying a special anchor tag at the end of it.

For example, let&#039;s say the following is the url to your app

http://www.yourdomain.com/slapp

Let&#039;s also say, the user clicks on a button called &quot;contact&quot; (within the application), then you could modify the URL from within Silverlight so it looks like this:

http://www.yourdomain.com/slapp#contact

This way, the website won&#039;t be reloaded but your Silverlight application can load the contact data and display it to the user.

If the user now presses the back button in his browser, the URL will get reverted back to the prior state and the Silverlight application still remains in the browser window displaying the original information.

This is the basic principle how the navigation app shown in the video above works.
You can observe this behavior by the way by looking at the url while the demo application is running. You&#039;ll see that only the short part at the end of the url changes while the user is navigating through the app.

So, basically you have to do two things:

1. Manipulate the URL by adding and removing &quot;#nameOfTheContent&quot; tags to the end of it
2. Catch the events which are fired when the URL changes and load the correct data based on this URL.

Of course, google&#039;s also always a good source for finding more information about this: https://encrypted.google.com/search?sourceid=chrome&amp;ie=UTF-8&amp;q=silverlight+forward+back+buttons ;-)]]></description>
			<content:encoded><![CDATA[<p>As you can see at date of the blog article, the information provided here is already almost 1 year old.<br />
Since then, Silverlight has made huge progress and many things changed and to be honest, I am not really up-to-date regarding SL development.</p>
<p>However, although using a navigation component would probably be the easiest way, I think that it&#8217;s possible to manipulate the forward and backward buttons manually.</p>
<p>The basic trick behind it is to manipulate the URL by modifying a special anchor tag at the end of it.</p>
<p>For example, let&#8217;s say the following is the url to your app</p>
<p><a href="http://www.yourdomain.com/slapp" rel="nofollow ugc">http://www.yourdomain.com/slapp</a></p>
<p>Let&#8217;s also say, the user clicks on a button called &#8220;contact&#8221; (within the application), then you could modify the URL from within Silverlight so it looks like this:</p>
<p><a href="http://www.yourdomain.com/slapp#contact" rel="nofollow ugc">http://www.yourdomain.com/slapp#contact</a></p>
<p>This way, the website won&#8217;t be reloaded but your Silverlight application can load the contact data and display it to the user.</p>
<p>If the user now presses the back button in his browser, the URL will get reverted back to the prior state and the Silverlight application still remains in the browser window displaying the original information.</p>
<p>This is the basic principle how the navigation app shown in the video above works.<br />
You can observe this behavior by the way by looking at the url while the demo application is running. You&#8217;ll see that only the short part at the end of the url changes while the user is navigating through the app.</p>
<p>So, basically you have to do two things:</p>
<p>1. Manipulate the URL by adding and removing &#8220;#nameOfTheContent&#8221; tags to the end of it<br />
2. Catch the events which are fired when the URL changes and load the correct data based on this URL.</p>
<p>Of course, google&#8217;s also always a good source for finding more information about this: <a href="https://encrypted.google.com/search?sourceid=chrome&#038;ie=UTF-8&#038;q=silverlight+forward+back+buttons" rel="nofollow ugc">https://encrypted.google.com/search?sourceid=chrome&#038;ie=UTF-8&#038;q=silverlight+forward+back+buttons</a> ;-)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Patch		</title>
		<link>https://www.timo-ernst.net/blog/2010/03/29/forward-and-back-button-support-in-silverlight/#comment-13981</link>

		<dc:creator><![CDATA[Patch]]></dc:creator>
		<pubDate>Thu, 17 Mar 2011 21:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.timo-ernst.net/?p=2043#comment-13981</guid>

					<description><![CDATA[Can this be done without using a &quot;Navigation&quot; App? I have created a silverlight app and need to figure out how to use the back/fwd buttons but did not choose Navigation.

Thanks]]></description>
			<content:encoded><![CDATA[<p>Can this be done without using a &#8220;Navigation&#8221; App? I have created a silverlight app and need to figure out how to use the back/fwd buttons but did not choose Navigation.</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Timo		</title>
		<link>https://www.timo-ernst.net/blog/2010/03/29/forward-and-back-button-support-in-silverlight/#comment-13061</link>

		<dc:creator><![CDATA[Timo]]></dc:creator>
		<pubDate>Fri, 31 Dec 2010 15:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.timo-ernst.net/?p=2043#comment-13061</guid>

					<description><![CDATA[Something similar also exists now for Flex called History Management: http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_7.html
Pretty nice.]]></description>
			<content:encoded><![CDATA[<p>Something similar also exists now for Flex called History Management: <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_7.html" rel="nofollow ugc">http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_7.html</a><br />
Pretty nice.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raoul Rubin		</title>
		<link>https://www.timo-ernst.net/blog/2010/03/29/forward-and-back-button-support-in-silverlight/#comment-13060</link>

		<dc:creator><![CDATA[Raoul Rubin]]></dc:creator>
		<pubDate>Fri, 31 Dec 2010 15:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.timo-ernst.net/?p=2043#comment-13060</guid>

					<description><![CDATA[You cover a lot of good material here. I haven&#039;t used Silverlight since the 1.1/2.0 version. A lot has changed! Thanks for helping me start getting up to speed on the new features.]]></description>
			<content:encoded><![CDATA[<p>You cover a lot of good material here. I haven&#8217;t used Silverlight since the 1.1/2.0 version. A lot has changed! Thanks for helping me start getting up to speed on the new features.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
