<?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: Silverlight Tips/Tricks: Communicating between Javascript and C#</title>
	<atom:link href="http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c</link>
	<description>Sharing our knowledge</description>
	<lastBuildDate>Mon, 30 Apr 2012 09:19:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>	<item>
		<title>By: sigyer</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-164785</link>
		<dc:creator>sigyer</dc:creator>
		<pubDate>Fri, 17 Apr 2009 13:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-164785</guid>
		<description>hey there...

I&#039;ve also experience that.
How can i fix this?</description>
		<content:encoded><![CDATA[<p>hey there&#8230;</p>
<p>I&#8217;ve also experience that.<br />
How can i fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-125725</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 02 Dec 2008 07:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-125725</guid>
		<description>I have been having some issues with Firefox 3. Silverlight will load and run ok but when I click a link that executes javascript code that calls a scriptible method, I get a javascript error that states that the &quot;Control.Content&quot; is undifined.

Everything works fine on IE, Safari, and even Chrome. The problem in firefox seems to be intermitant. It will work sometimes but fail other times. I may reload the browser then it will work. Sometimes it will not work no matter how many times I reload Firefox.

Feels like a race condition in Firefox.

You can see the issue at the following URL:
http://www.myonlineband.com/TopMusic.aspx</description>
		<content:encoded><![CDATA[<p>I have been having some issues with Firefox 3. Silverlight will load and run ok but when I click a link that executes javascript code that calls a scriptible method, I get a javascript error that states that the &#8220;Control.Content&#8221; is undifined.</p>
<p>Everything works fine on IE, Safari, and even Chrome. The problem in firefox seems to be intermitant. It will work sometimes but fail other times. I may reload the browser then it will work. Sometimes it will not work no matter how many times I reload Firefox.</p>
<p>Feels like a race condition in Firefox.</p>
<p>You can see the issue at the following URL:<br />
<a href="http://www.myonlineband.com/TopMusic.aspx" rel="nofollow">http://www.myonlineband.com/TopMusic.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-51096</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Sun, 06 Apr 2008 15:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-51096</guid>
		<description>Please take a look this post &lt;a href=&quot;http://msdn2.microsoft.com/en-us/library/cc221414(vs.95).aspx&quot; rel=&quot;nofollow&quot;&gt;Walkthrough: Calling Managed Code from Client Script&lt;/a&gt; if you are using Silverlight 2 beta1.


Hope it helps..</description>
		<content:encoded><![CDATA[<p>Please take a look this post <a href="http://msdn2.microsoft.com/en-us/library/cc221414(vs.95).aspx" rel="nofollow">Walkthrough: Calling Managed Code from Client Script</a> if you are using Silverlight 2 beta1.</p>
<p>Hope it helps..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: W&#246;chentliche Rundablage: ASP.NET, ASP.NET MVC, System.AddIn, Silverlight, LINQ, C# 3.0, WPF, XBAP&#8230; &#124; Code-Inside Blog</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-36962</link>
		<dc:creator>W&#246;chentliche Rundablage: ASP.NET, ASP.NET MVC, System.AddIn, Silverlight, LINQ, C# 3.0, WPF, XBAP&#8230; &#124; Code-Inside Blog</dc:creator>
		<pubDate>Mon, 04 Feb 2008 19:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-36962</guid>
		<description>[...] Silverlight Tips/Tricks: Communicating between Javascript and C#&#160; [...]</description>
		<content:encoded><![CDATA[<p>[...] Silverlight Tips/Tricks: Communicating between Javascript and C#&nbsp; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-36692</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Sun, 03 Feb 2008 12:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-36692</guid>
		<description>&gt;&gt;var cont = silverlightControl.content.entrypoint;

I think this is incorrect. where do you put this code? Can you show me full code? What are you trying to do? 

I didn&#039;t write like that in my sample, isn&#039;t it?</description>
		<content:encoded><![CDATA[<p>>>var cont = silverlightControl.content.entrypoint;</p>
<p>I think this is incorrect. where do you put this code? Can you show me full code? What are you trying to do? </p>
<p>I didn&#8217;t write like that in my sample, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ihtesham</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-36648</link>
		<dc:creator>ihtesham</dc:creator>
		<pubDate>Sun, 03 Feb 2008 10:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-36648</guid>
		<description>hi 

The following code give me &#039;unspecified error&#039;
 
          var cont =  silverlightControl.content.entrypoint;
          cont.CreateHeader(w,h);
       
where c# code is:

        [Scriptable]
        public void CreateHeader(string width, string height)
        {
            int w = int.Parse(width);
            int h = int.Parse(height);  

Can you please help me...i have spent hours on it to solve but unsuccessfull so far.</description>
		<content:encoded><![CDATA[<p>hi </p>
<p>The following code give me &#8216;unspecified error&#8217;</p>
<p>          var cont =  silverlightControl.content.entrypoint;<br />
          cont.CreateHeader(w,h);</p>
<p>where c# code is:</p>
<p>        [Scriptable]<br />
        public void CreateHeader(string width, string height)<br />
        {<br />
            int w = int.Parse(width);<br />
            int h = int.Parse(height);  </p>
<p>Can you please help me&#8230;i have spent hours on it to solve but unsuccessfull so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ihtesham</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-36516</link>
		<dc:creator>ihtesham</dc:creator>
		<pubDate>Sun, 03 Feb 2008 00:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-36516</guid>
		<description>Very very good tips...thanks</description>
		<content:encoded><![CDATA[<p>Very very good tips&#8230;thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-32231</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Sun, 20 Jan 2008 10:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-32231</guid>
		<description>&lt;blockquote&gt;Have you tried calling JavaScript function directly from inside Managed code ? i.e. Calling alert() from inside C# without assigning callbacks&lt;/blockquote&gt;

I haven&#039;t tried it yet.. I will let you know whether it&#039;s possible to do that or not.. 

&lt;blockquote&gt;what’s the meaning of function invokeManagedCode(){&lt;/blockquote&gt;

This is the name of Javascript that support to invoke the C# code. Please take a look at step 3 of Tip #3.</description>
		<content:encoded><![CDATA[<blockquote><p>Have you tried calling JavaScript function directly from inside Managed code ? i.e. Calling alert() from inside C# without assigning callbacks</p></blockquote>
<p>I haven&#8217;t tried it yet.. I will let you know whether it&#8217;s possible to do that or not.. </p>
<blockquote><p>what’s the meaning of function invokeManagedCode(){</p></blockquote>
<p>This is the name of Javascript that support to invoke the C# code. Please take a look at step 3 of Tip #3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaScript Onload</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-32228</link>
		<dc:creator>JavaScript Onload</dc:creator>
		<pubDate>Sun, 20 Jan 2008 10:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-32228</guid>
		<description>what&#039;s the meaning of function invokeManagedCode(){</description>
		<content:encoded><![CDATA[<p>what&#8217;s the meaning of function invokeManagedCode(){</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejasvi Hegde</title>
		<link>http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c/comment-page-1#comment-31905</link>
		<dc:creator>Tejasvi Hegde</dc:creator>
		<pubDate>Sat, 19 Jan 2008 10:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2008/01/18/silverlight-tipstricks-communicating-between-javascript-and-c#comment-31905</guid>
		<description>Good tips.
Have you tried calling JavaScript function directly from inside Managed code ? i.e. Calling alert() from inside C# without assigning callbacks?</description>
		<content:encoded><![CDATA[<p>Good tips.<br />
Have you tried calling JavaScript function directly from inside Managed code ? i.e. Calling alert() from inside C# without assigning callbacks?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

