<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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>How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx</link><description>A comment was left in response to Master Detail in Silverlight 2 asking &amp;quot; Any hint how to create such a sample with Java Script instead C# ?&amp;quot; I thought the answer was important enough to post to the blog in general... Two points about your question</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38957</link><pubDate>Wed, 19 Mar 2008 17:40:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38957</guid><dc:creator>wisecarver</dc:creator><description>&lt;p&gt;Present and Future of BLOCKED SCRIPT&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://channel9.msdn.com/ShowPost.aspx?PostID=391047#391047"&gt;channel9.msdn.com/ShowPost.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38957" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38537</link><pubDate>Tue, 18 Mar 2008 16:55:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38537</guid><dc:creator>Thomas H.</dc:creator><description>&lt;p&gt;Hi Jesse, &lt;/p&gt;
&lt;p&gt;thank you for investigating this issue. That&amp;#180;s sad, that the new controls cannot be used from native browser Java Script.&lt;/p&gt;
&lt;p&gt;For me this seems to be a political decision from the Silverlight management rather than a technical decision. The same issue is with Flash/Flex: Although Adobe has the Flex Bridge &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge"&gt;labs.adobe.com/.../Flex_Framework:FABridge&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;to create Flash controls at runtime in the AJAX way. But the Flex Bridge is halfhearted and not well supported.&lt;/p&gt;
&lt;p&gt;It seems that both, Microsoft and Adobe, want to sell their development environments in order to use Flash/Silverlight generated content. Therefore the AJAX access is blocked.&lt;/p&gt;
&lt;p&gt;IMHO if Microsoft will open the controls to native Java Script, Silverlight will become the Flash Killer. All the AJAX developer will adopt it…&lt;/p&gt;
&lt;p&gt;Greetings Thomas&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38537" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript? | My Geek Solutions | My &amp;#8230; | My Geek Solutions</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38490</link><pubDate>Tue, 18 Mar 2008 15:24:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38490</guid><dc:creator>re: How do I Write that In JavaScript? | My Geek Solutions | My … | My Geek Solutions</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;re: How do I Write that In JavaScript? | My Geek Solutions | My &amp;amp;#8230; | My Geek Solutions&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38490" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38467</link><pubDate>Tue, 18 Mar 2008 14:53:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38467</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;Thomas,&lt;/p&gt;
&lt;p&gt;The thread you pointed me to &amp;nbsp;indicates that you cannot access the SL2 controls from Javascript (I'll try to get confirmation of that). Further, it is clear to me that the folks in that thread know more than I do about JScript and how one would do what you and Dave Dyson want to accomplish, so I'd pound on that thread looking for answers.&lt;/p&gt;
&lt;p&gt;In the meantime I'll continue to look into it.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-j&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38467" width="1" height="1"&gt;</description></item><item><title>Dew Drop - March 18, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38453</link><pubDate>Tue, 18 Mar 2008 14:00:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38453</guid><dc:creator>Dew Drop - March 18, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - March 18, 2008 | Alvin Ashcraft's Morning Dew&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38453" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript? | My Geek Solutions | My Geek Solutions</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38451</link><pubDate>Tue, 18 Mar 2008 13:51:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38451</guid><dc:creator>re: How do I Write that In JavaScript? | My Geek Solutions | My Geek Solutions</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;re: How do I Write that In JavaScript? | My Geek Solutions | My Geek Solutions&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38451" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript? | My Geek Solutions</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38396</link><pubDate>Tue, 18 Mar 2008 10:55:06 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38396</guid><dc:creator>re: How do I Write that In JavaScript? | My Geek Solutions</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;re: How do I Write that In JavaScript? | My Geek Solutions&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38396" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38362</link><pubDate>Tue, 18 Mar 2008 08:52:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38362</guid><dc:creator>dave_dyson</dc:creator><description>&lt;p&gt;Hi Jesse&lt;/p&gt;
&lt;p&gt;Just to clarify my last post, when I stated&lt;/p&gt;
&lt;p&gt;&amp;quot;I guess when you say Javascript you mean &amp;nbsp; managed JScript and not 'native' Javascript&amp;quot;&lt;/p&gt;
&lt;p&gt;I meant managed JScript supports Silverlight 2&lt;/p&gt;
&lt;p&gt;controls while 'native' Javascipt only supports&lt;/p&gt;
&lt;p&gt;Silverlight 1.0 controls.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38362" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38358</link><pubDate>Tue, 18 Mar 2008 08:44:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38358</guid><dc:creator>dave_dyson</dc:creator><description>&lt;p&gt;hello Jesse&lt;/p&gt;
&lt;p&gt;re article above (snippet below)&lt;/p&gt;
&lt;p&gt;While it is true that Silverlight 2 supports JavaScript, it is also true that C# supports language features that simply are not available in Javascript such as generics (ListOf&amp;lt;Books&amp;gt;) and true classes and objects. Translating my examples from C# to (e.g.,) VB is trivial, but translating to JavaScript is more of a challenge.&lt;/p&gt;
&lt;p&gt;****&lt;/p&gt;
&lt;p&gt;This is exactly would I need - to pass data&lt;/p&gt;
&lt;p&gt;to a datagrid using JScript. Maybe a challenge&lt;/p&gt;
&lt;p&gt;but can you please help with an code example of how to set up/create the data from JScript.&lt;/p&gt;
&lt;p&gt;I guess when you say Javascript you mean managed JScript and not 'native' Javascript.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38358" width="1" height="1"&gt;</description></item><item><title>Silverlight Cream for March 17, 2008 -- #227</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38177</link><pubDate>Mon, 17 Mar 2008 21:17:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38177</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Brad Abrams posted links the the SL2 poster, Shawn Wildermuth has links out to a discussion of a Cross&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38177" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38098</link><pubDate>Mon, 17 Mar 2008 16:39:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38098</guid><dc:creator>wisecarver</dc:creator><description>&lt;p&gt;Interesting Thomas...&lt;/p&gt;
&lt;p&gt;Chad and I used to cross-code Borland Delphi,&lt;/p&gt;
&lt;p&gt;I had no idea he was doing XAML now. ;-)&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38098" width="1" height="1"&gt;</description></item><item><title>re: How do I Write that In JavaScript?</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/03/17/how-do-i-write-that-in-javascript.aspx#38091</link><pubDate>Mon, 17 Mar 2008 16:13:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38091</guid><dc:creator>Thomas H.</dc:creator><description>&lt;p&gt;Hi Jesse,&lt;/p&gt;
&lt;p&gt;thank you for your fast response! :-) But this is not that I&amp;#180;m looking for. I&amp;#180;m looking for a kind of “loose XAML” where the browser Java Script is used for code behind. I want to use the Silverlight XAML with the new Silverlight 2 Controls as a kind of “new HTML” in Ajax style. &lt;/p&gt;
&lt;p&gt;Like described here&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.kudzuworld.com/blogs/Tech/20061231.no.aspx"&gt;www.kudzuworld.com/.../20061231.no.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Why I&amp;#180;m asking for using Java Script? Why not using C# or any other DLR language? Because I have a huge server app written in Smalltalk with hundreds of model classes with business logic. This server app generates now HTML and Java Script and is used via browsers. &amp;nbsp;This app has about 300 views and is used by ten thousands of users. I&amp;#180;m considering using Silverlight as the new frontend in the browser instead the plain HTML. The goal is to offer rich controls and more desktop like user experience. For us it would be easy to generate the Silverlight XAML and Java Script from Smalltalk. But we can&amp;#180;t and won&amp;#180;t rewrite the whole app in C#.&lt;/p&gt;
&lt;p&gt;So can you please show me an example, how to use the Silverlight 2 controls with browser Java Script?&lt;/p&gt;
&lt;p&gt;Greetings Thomas&lt;/p&gt;
&lt;p&gt;P.S. Looks like other people are starving for an answer for this question as well:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://silverlight.net/forums/t/11573.aspx"&gt;silverlight.net/.../11573.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=38091" width="1" height="1"&gt;</description></item></channel></rss>