<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>What's new in the Silverlight 2 Beta 2 SDK's Silverlight.js file?</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx</link><description>The Silverlight.js file was updated with several important improvements in the Silverlight 2 Beta 2 SDK . These improvements were focused on two key areas: better experiences out-of-the-box for end users and easier customization of those experiences for</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Silverlight Cream for June 25, 2008 -- #309</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8654674</link><pubDate>Thu, 26 Jun 2008 07:29:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8654674</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Emil Stoychev with a Silverlight Twitter Widget, Kathy Kam on the missing WatermarkedTextBox, Adam Kinney&lt;/p&gt;
</description></item><item><title>Silverlight.js available on MSDN Code Gallery</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8682602</link><pubDate>Thu, 03 Jul 2008 05:13:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8682602</guid><dc:creator>Piotr Puszkiewicz's Silverlight Blog</dc:creator><description>&lt;p&gt;Silverlight.js is now available for download on MSDN Code Gallery via &lt;a rel="nofollow" target="_new" href="http://code.msdn.microsoft.com/silverlightjs"&gt;http://code.msdn.microsoft.com/silverlightjs&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: What's new in the Silverlight 2 Beta 2 SDK's Silverlight.js file?</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8793999</link><pubDate>Thu, 31 Jul 2008 21:00:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8793999</guid><dc:creator>grisjuan</dc:creator><description>&lt;p&gt;I'm working on the &amp;quot;guided install&amp;quot; you suggest (and your post is very helpful, thanks).&lt;/p&gt;
&lt;p&gt;I basically have it working in IE7 and FF3 now. One question: in Firefox 3, when I call getSilverlight the only options Firefox gives the user are &amp;quot;Save&amp;quot; and &amp;quot;Cancel&amp;quot; so the user has manually to go to their Downloads directory and run the .exe. After the install when I inject the object tag into the div, I still need to refresh the page (refresh isn't needed in IE7). Does that sound right?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: What's new in the Silverlight 2 Beta 2 SDK's Silverlight.js file?</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8841473</link><pubDate>Thu, 07 Aug 2008 21:49:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8841473</guid><dc:creator>PiotrP</dc:creator><description>&lt;p&gt;GRISJUAN,&lt;/p&gt;
&lt;p&gt; The refresh should not be required in any browser, assuming that the user does not have a previous version of Silverlight installed. You can overwrite the value of Silverlight.onSilverlightInstalled &amp;nbsp;with a new function that injects the object tag for you. This way, you can use the detection logic in Silverlight.js and still get the injection behavior you are looking for. &lt;/p&gt;
&lt;p&gt;You should also examine the value of Silverlight.isBrowserRestartRequired. If a user is doing an upgrade then they will need to restart their browser before using the newer control. The recommendation for this scenario is to wait for the user to click the installation link. Once they do, replace your installation prompt with something like &amp;quot;Thanks for upgrading Silverlight. When installation is complete, please restart your browser and come back to &amp;lt;YOUR URL&amp;gt;.&amp;quot; This way the user understands what is going on every step of the way.&lt;/p&gt;
&lt;p&gt;As to the Firefox Save/Cancel dialog, that user experience is outside of your site's control. However, a Firefox user is likely to be comfortable with the Firefox experience around downloads and therefore should not have problems with finding and running the installer.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt; Piotr&lt;/p&gt;
</description></item><item><title>re: What's new in the Silverlight 2 Beta 2 SDK's Silverlight.js file?</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8883320</link><pubDate>Thu, 21 Aug 2008 06:55:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8883320</guid><dc:creator>grisjuan</dc:creator><description>&lt;p&gt;My code is below. It would be cool to be able to remove the last line where I call reload, but I couldn't get it to work in FireFox 3, the app would not start automatically without it.&lt;/p&gt;
&lt;p&gt;In my testing, I went to &amp;quot;Programs and Features&amp;quot; and uninstalled the plugin before each attempt, so it should not have been an 'upgrade' scenario.&lt;/p&gt;
&lt;p&gt;Thanks for your suggestions so far, your posts on this have been really helpful!&lt;/p&gt;
&lt;p&gt;Silverlight.onSilverlightInstalled = function()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var div = document.getElementById(&amp;quot;host&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;div.innerHTML = &amp;quot;&amp;lt;p&amp;gt;Install successful...&amp;lt;/p&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;setTimeout(load, 3000);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;function load()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp;var parent = document.getElementById(&amp;quot;host&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Silverlight.createObject&lt;/p&gt;
&lt;p&gt; &amp;nbsp;(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;quot;Card.xap&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// source&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;parent, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// parent&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;quot;silverlightControl&amp;quot;, &amp;nbsp;// id of new app&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{ version: &amp;quot;2.0&amp;quot; }, &amp;nbsp; &amp;nbsp;// properties&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;null, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// events&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;null, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// initParams&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;null &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // context&lt;/p&gt;
&lt;p&gt; &amp;nbsp; );&lt;/p&gt;
&lt;p&gt; &amp;nbsp;window.location.reload(false); // needed to add this for FireFox&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item><item><title>re: What's new in the Silverlight 2 Beta 2 SDK's Silverlight.js file?</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8955709</link><pubDate>Wed, 17 Sep 2008 18:52:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8955709</guid><dc:creator>PiotrP</dc:creator><description>&lt;p&gt;grisjuan, can you share a pointer to your app? I would like to take a closer look at what is going wrong.&lt;/p&gt;
&lt;p&gt;Piotr&lt;/p&gt;
</description></item><item><title>re: What's new in the Silverlight 2 Beta 2 SDK's Silverlight.js file?</title><link>http://blogs.msdn.com/piotrp/archive/2008/06/25/what-s-new-in-the-silverlight-2-beta-2-sdk-s-silverlight-js-file.aspx#8967665</link><pubDate>Sat, 27 Sep 2008 20:31:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8967665</guid><dc:creator>grisjuan</dc:creator><description>&lt;p&gt;It's not a 'real' app ... I was just studying the installation experience. I'll redo the whole app from scratch now that an RTW is available and I'll report back in a couple of weeks.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item></channel></rss>