<?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>Getting Started</title><link>http://forums.silverlight.net/forums/14.aspx</link><description>The perfect forum for asking the basic questions. No question too simple!</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: How can I tell in javascript when a silverlight control is fully loaded?</title><link>http://forums.silverlight.net/forums/thread/240384.aspx</link><pubDate>Wed, 01 Jul 2009 18:20:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240384</guid><dc:creator>ccoombs</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240384.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=240384</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;perhaps someone has a more &amp;#39;official&amp;#39; solution, but it seems like you&amp;#39;d be able to invoke a javascript function with Browser.HtmlPage.Window.Eval(&amp;quot;someJavascriptFunction();&amp;quot;) in the Loaded event of Page.xaml.&lt;/p&gt;&lt;p&gt;the loaded event fires when the silverlight object is loaded and ready for interaction.&amp;nbsp; then of course &amp;#39;someJavascriptFunction&amp;#39; would be able to interact with it. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>How can I tell in javascript when a silverlight control is fully loaded?</title><link>http://forums.silverlight.net/forums/thread/240320.aspx</link><pubDate>Wed, 01 Jul 2009 15:51:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240320</guid><dc:creator>bpeters</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240320.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=240320</wfw:commentRss><description>&lt;p&gt;I have a page that dynamically creates a silverlight control, using the provided function &amp;quot;&lt;font size="2"&gt;Silverlight.createObjectEx.&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;This generally works fine, but I&amp;#39;m running into a problem.&amp;nbsp; I need to load the control, and then have javascript make a call into the control to pass in some data.&amp;nbsp; The problem is that if I create the object, and then immediately call the exposed function, I get an exception on the page.&amp;nbsp; &lt;/font&gt;&lt;font size="2"&gt;If I put in a hack to have javascript sleep for a few seconds,and then I make the same call into the silverlight object, it&amp;nbsp;works as expected.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;Is there any way to detect when a silverlight control is ready for the containing page to communciate with it via javascript?&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Thanks&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>