<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: How to switch Silverlight UserControls</title>
	<atom:link href="http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/feed/" rel="self" type="application/rss+xml" />
	<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/</link>
	<description>Thoughts about life, the universe and everything else.</description>
	<lastBuildDate>Tue, 08 Nov 2011 09:28:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: no need to this all stuff......it just so simple</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-32880</link>
		<dc:creator>no need to this all stuff......it just so simple</dc:creator>
		<pubDate>Mon, 14 Feb 2011 06:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-32880</guid>
		<description>Just call this function with required page u want load.... dats it

public void SwitchControl(UserControl newControl)
        {
            LayoutRoot.Children.Clear();


            LayoutRoot.Children.Add(newControl);
           
        }</description>
		<content:encoded><![CDATA[<p>Just call this function with required page u want load&#8230;. dats it</p>
<p>public void SwitchControl(UserControl newControl)<br />
        {<br />
            LayoutRoot.Children.Clear();</p>
<p>            LayoutRoot.Children.Add(newControl);</p>
<p>        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: racksen</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-30459</link>
		<dc:creator>racksen</dc:creator>
		<pubDate>Wed, 20 Oct 2010 22:41:50 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-30459</guid>
		<description>How about just clear and add the children collection
directly in the transfer event like private void
cmdSLControl_Click(object sender, RoutedEventArgs e) {
LayoutRoot.Children.Clear(); LayoutRoot.Children.Add(new
SilverlightControls());
//((UserControlContainer)Application.Current.RootVisual).SwitchControl(new
SilverlightControls()); }</description>
		<content:encoded><![CDATA[<p>How about just clear and add the children collection<br />
directly in the transfer event like private void<br />
cmdSLControl_Click(object sender, RoutedEventArgs e) {<br />
LayoutRoot.Children.Clear(); LayoutRoot.Children.Add(new<br />
SilverlightControls());<br />
//((UserControlContainer)Application.Current.RootVisual).SwitchControl(new<br />
SilverlightControls()); }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siva</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-28936</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Wed, 01 Sep 2010 13:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-28936</guid>
		<description>Nice One! Saved lot of Time!</description>
		<content:encoded><![CDATA[<p>Nice One! Saved lot of Time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Ward</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-21087</link>
		<dc:creator>Matt Ward</dc:creator>
		<pubDate>Thu, 08 Apr 2010 17:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-21087</guid>
		<description>Oh my god that is the most useful thing Ive ever found on
the internet!! Thankyou. Your neat little fix just made my
coursework work!!</description>
		<content:encoded><![CDATA[<p>Oh my god that is the most useful thing Ive ever found on<br />
the internet!! Thankyou. Your neat little fix just made my<br />
coursework work!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcelo oliveira</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-20429</link>
		<dc:creator>marcelo oliveira</dc:creator>
		<pubDate>Sat, 03 Apr 2010 19:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-20429</guid>
		<description>Useful indeed...Thanks very much!</description>
		<content:encoded><![CDATA[<p>Useful indeed&#8230;Thanks very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to sett the RootVisual multiple times from code in Silverlight 3 &#171; Knowledgebase</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-17443</link>
		<dc:creator>How to sett the RootVisual multiple times from code in Silverlight 3 &#171; Knowledgebase</dc:creator>
		<pubDate>Tue, 09 Mar 2010 19:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-17443</guid>
		<description>[...] http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/" rel="nofollow">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Nicholson</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-11625</link>
		<dc:creator>Craig Nicholson</dc:creator>
		<pubDate>Fri, 09 Oct 2009 14:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-11625</guid>
		<description>It depends how you implement your concept of a user. If you are using the commonly used cookie-based forms authentication scheme then you could make a Web service call to a logout/login method and change user that way.</description>
		<content:encoded><![CDATA[<p>It depends how you implement your concept of a user. If you are using the commonly used cookie-based forms authentication scheme then you could make a Web service call to a logout/login method and change user that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Nicholson</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-11624</link>
		<dc:creator>Craig Nicholson</dc:creator>
		<pubDate>Fri, 09 Oct 2009 14:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-11624</guid>
		<description>The InitParams solution is good for views that only change when the web page is refreshed. My solution is for when you need to keep a long-runnning instance of the same control.</description>
		<content:encoded><![CDATA[<p>The InitParams solution is good for views that only change when the web page is refreshed. My solution is for when you need to keep a long-runnning instance of the same control.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig Nicholson</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-11623</link>
		<dc:creator>Craig Nicholson</dc:creator>
		<pubDate>Fri, 09 Oct 2009 14:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-11623</guid>
		<description>Well if by &quot;pages&quot; you mean Silverlight canvases/controls, then yes, they all get packaged in your XAP file and sent to your browser at the same time. Using Silverlight 3 though you can do some more interesting deferred loading of resources.</description>
		<content:encoded><![CDATA[<p>Well if by &#8220;pages&#8221; you mean Silverlight canvases/controls, then yes, they all get packaged in your XAP file and sent to your browser at the same time. Using Silverlight 3 though you can do some more interesting deferred loading of resources.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-Pierre Fouche</title>
		<link>http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/comment-page-1/#comment-11618</link>
		<dc:creator>Jean-Pierre Fouche</dc:creator>
		<pubDate>Fri, 09 Oct 2009 10:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://craign.net/2008/03/11/how-to-switch-silverlight-usercontrols/#comment-11618</guid>
		<description>In an application with - say 1000 - pages, do all of these pages get streamed to the client (browser), or just the currently visible page?</description>
		<content:encoded><![CDATA[<p>In an application with &#8211; say 1000 &#8211; pages, do all of these pages get streamed to the client (browser), or just the currently visible page?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

