<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: Accessing .xaml files from server and displaying hem in a user control</title><link>http://forums.silverlight.net/forums/thread/245129.aspx</link><pubDate>Thu, 09 Jul 2009 09:51:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:245129</guid><dc:creator>vijayvvk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/245129.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=245129</wfw:commentRss><description>&lt;p&gt;Is it possible to download a .xap file and read the contents.&lt;/p&gt;
&lt;p&gt;Actually i am planning to move all the xaml files to a .xap and make them to download and use them on client.&lt;/p&gt;</description></item><item><title>Re: Accessing .xaml files from server and displaying hem in a user control</title><link>http://forums.silverlight.net/forums/thread/240850.aspx</link><pubDate>Thu, 02 Jul 2009 15:09:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240850</guid><dc:creator>BrianGenisio</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240850.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=240850</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You bet!&amp;nbsp; The beauty is that it is REALLY easy... &lt;/p&gt;&lt;p&gt;&amp;nbsp;Start with the shell that you want to display the XAML inside of:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;Border&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;DynamicHolder&amp;quot;&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;Grid&lt;/span&gt;&lt;span class="attr"&gt; x:Name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;TemporaryPlaceholder&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Width=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;640&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Height=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;900&amp;quot;&lt;/span&gt; /&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;Border&lt;/span&gt;&amp;gt;&lt;/pre&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp; Then, when you have the XAML from the server, in string form (dynamicXaml), Just assign it as the content:&lt;/p&gt;&lt;pre class="coloredcode"&gt;DynamicHolder.Child = System.Windows.Markup.XamlReader.Load(dynamicXaml) &lt;span class="kwd"&gt;as&lt;/span&gt; UserControl; &lt;/pre&gt;&amp;nbsp;It is that easy.&amp;nbsp; Really.&amp;nbsp; I was shocked when I realized how easy it was to load templates from the server.&lt;br /&gt;</description></item><item><title>Re: Accessing .xaml files from server and displaying hem in a user control</title><link>http://forums.silverlight.net/forums/thread/240611.aspx</link><pubDate>Thu, 02 Jul 2009 07:00:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240611</guid><dc:creator>nirav_2052003</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240611.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=240611</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can download the .xaml files from the server using WebClient. After successful download of the xaml file at the client side, you can convert the filestream to xaml string using string builder and then load that xaml in your user control.&lt;/p&gt;</description></item><item><title>Re: Accessing .xaml files from server and displaying hem in a user control</title><link>http://forums.silverlight.net/forums/thread/240092.aspx</link><pubDate>Wed, 01 Jul 2009 07:05:25 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240092</guid><dc:creator>jay nanavati</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240092.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=240092</wfw:commentRss><description>&lt;p&gt;Do check this link:&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/saurabhd/archive/2008/11/25/dynamic-loading-of-xaml-in-silverlight-interesting-possibilities-for-line-of-business-applications.aspx"&gt;http://blogs.msdn.com/saurabhd/archive/2008/11/25/dynamic-loading-of-xaml-in-silverlight-interesting-possibilities-for-line-of-business-applications.aspx&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Accessing .xaml files from server and displaying hem in a user control</title><link>http://forums.silverlight.net/forums/thread/240061.aspx</link><pubDate>Wed, 01 Jul 2009 05:50:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240061</guid><dc:creator>vijayvvk</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240061.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=240061</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is it possible to download and display dynamically&amp;nbsp;.xaml files present in the server to a silverlight App. &lt;/p&gt;
&lt;p&gt;I Just want to download or at least read the contents in xaml file present in the server, so that i can load them using xamlreader.load method and display the same&amp;nbsp; as a UI Element inside my User control.&lt;/p&gt;
&lt;p&gt;Can anyone help me in this regard.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vijay.&lt;/p&gt;</description></item></channel></rss>