<?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 JavaScript</title><link>http://forums.silverlight.net/forums/16.aspx</link><description>Discussions about programming Silverlight with JavaScript</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: is it possible to call multiple functions on same event like, is it possible MouseEnter="onMouseEnter;onMouseClicked"  ?</title><link>http://forums.silverlight.net/forums/thread/12254.aspx</link><pubDate>Tue, 28 Aug 2007 15:08:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:12254</guid><dc:creator>Dave Britton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/12254.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=12254</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes - You can simply add multiple delagates as follows:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;font size="2"&gt; media = rootElement.findname(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;media&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;media.addEventListener(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MediaEnded&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, Silverlight.createDelegate(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.handleMediaEnded)); &lt;/p&gt;
&lt;p&gt;media.addEventListener(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MediaEnded&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, Silverlight.createDelegate(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.handleMediaEnded2)); &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="2"&gt;- Dave&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: is it possible to call multiple functions on same event like, is it possible MouseEnter="onMouseEnter;onMouseClicked"  ?</title><link>http://forums.silverlight.net/forums/thread/12252.aspx</link><pubDate>Tue, 28 Aug 2007 14:59:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:12252</guid><dc:creator>jasonxz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/12252.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=12252</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t believe there is any way to do it declaratively in your XAML.&amp;nbsp; However, I know that in 1.1, you can wire multiple methods to a single event in the code-behind:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;object.&lt;/em&gt;MouseLeftButtonUp += new MouseEventHandler(&lt;em&gt;method1&lt;/em&gt;);&lt;/p&gt;
&lt;p&gt;&lt;em&gt;object.&lt;/em&gt;MouseLeftButtonUp += new MouseEventHandler(&lt;em&gt;method2&lt;/em&gt;);&lt;/p&gt;
&lt;p&gt;So, I imagine you can probably do the same thing in javascript in 1.0.&lt;/p&gt;</description></item><item><title>is it possible to call multiple functions on same event like, is it possible MouseEnter="onMouseEnter;onMouseClicked"  ?</title><link>http://forums.silverlight.net/forums/thread/12219.aspx</link><pubDate>Tue, 28 Aug 2007 06:25:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:12219</guid><dc:creator>suyog kale</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/12219.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=16&amp;PostID=12219</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;can anybody tell me in urgents&lt;/p&gt;&lt;p&gt;is it possible to call multiple functions on same event like&lt;/p&gt;&lt;p&gt;is it possible &lt;b&gt;MouseEnter=&amp;quot;onMouseEnter;onMouseClicked&amp;quot;&amp;nbsp;&lt;/b&gt;
?&lt;/p&gt;&lt;p&gt;please reply with solution&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>