<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.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>Gavin Leader - All Comments</title><link>http://weblogs.asp.net/gavinleader/default.aspx</link><description>Ramblings on Interactive Web Applications</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Silverlight 2 - Creating a Play/Pause button using a ControlTemplate</title><link>http://weblogs.asp.net/gavinleader/archive/2008/06/19/silverlight-2-creating-a-play-pause-button-using-a-controltemplate.aspx#6855843</link><pubDate>Thu, 22 Jan 2009 13:56:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6855843</guid><dc:creator>serg</dc:creator><description>&lt;p&gt;private void PlayPauseButton_Click(object sender, RoutedEventArgs e)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (VideoPlayer.CurrentState == MediaElementState.Playing)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VideoPlayer.Pause();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PauseIcon.Visibility = Visibility.Collapsed;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PlayIcon.Visibility = Visibility.Visible;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VideoPlayer.Pause();// VideoPlayer.Play()??? &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PlayIcon.Visibility = Visibility.Collapsed;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PauseIcon.Visibility = Visibility.Visible;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6855843" width="1" height="1"&gt;</description></item><item><title>re: AJAX History control - using with a GridView</title><link>http://weblogs.asp.net/gavinleader/archive/2008/06/19/ajax-history-control-using-with-a-gridview.aspx#6809796</link><pubDate>Wed, 31 Dec 2008 10:42:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6809796</guid><dc:creator>Waldo</dc:creator><description>&lt;p&gt;Nice - very usefull pice of code.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6809796" width="1" height="1"&gt;</description></item><item><title>re: Calling Silverlight managed code (C#) from the client-side (Javascript)</title><link>http://weblogs.asp.net/gavinleader/archive/2008/09/08/calling-silverlight-managed-code-c-from-the-client-side-javascript.aspx#6724321</link><pubDate>Thu, 06 Nov 2008 21:22:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6724321</guid><dc:creator>gavinleader</dc:creator><description>&lt;p&gt;Mike - I&amp;#39;m not having a problem with FF3. &amp;nbsp;It&amp;#39;s been awhile since you posted your comment, so you might want to try again with the released version of Silverlight. &amp;nbsp;Otherwise I don&amp;#39;t see anything in particular that would be browser-sensitive in the javascript.&lt;br /&gt;If silverlightObject.content is not null, your Silverlight object reference is correct.&amp;nbsp; Make sure you have the [ScriptableType] Attribute set on the Page class, and your constructor registers the object in your page.&amp;nbsp; Again, these are things that would break IE if there were missing as well, so hopefully it&amp;#39;s just a resolved bug from Beta.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6724321" width="1" height="1"&gt;</description></item><item><title>re: Calling Silverlight managed code (C#) from the client-side (Javascript)</title><link>http://weblogs.asp.net/gavinleader/archive/2008/09/08/calling-silverlight-managed-code-c-from-the-client-side-javascript.aspx#6703688</link><pubDate>Sat, 25 Oct 2008 12:55:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6703688</guid><dc:creator>mike</dc:creator><description>&lt;p&gt;Does not seem to work in FF3 - although fine IE7&lt;/p&gt;
&lt;p&gt;silverlightObject.content.SilverlightTextSample returns null&lt;/p&gt;
&lt;p&gt;Any ideas ?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6703688" width="1" height="1"&gt;</description></item><item><title>re: Silverlight 2 - Creating a Play/Pause button using a ControlTemplate</title><link>http://weblogs.asp.net/gavinleader/archive/2008/06/19/silverlight-2-creating-a-play-pause-button-using-a-controltemplate.aspx#6682019</link><pubDate>Wed, 15 Oct 2008 11:33:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6682019</guid><dc:creator>Annegret</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I created a ControlTemplate with an image for a button succesfully. But I want to know how to create a button which contains both icon and text.&lt;/p&gt;
&lt;p&gt;Thanks Annegret&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6682019" width="1" height="1"&gt;</description></item><item><title>re: Calling Silverlight managed code (C#) from the client-side (Javascript)</title><link>http://weblogs.asp.net/gavinleader/archive/2008/09/08/calling-silverlight-managed-code-c-from-the-client-side-javascript.aspx#6611536</link><pubDate>Tue, 09 Sep 2008 03:01:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6611536</guid><dc:creator>江名峰(MingFeng Jiang)</dc:creator><description>&lt;p&gt;very good&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6611536" width="1" height="1"&gt;</description></item><item><title>funny wallpaper &amp;raquo; Calling Silverlight managed code (C#) from the client-side (Javascript)</title><link>http://weblogs.asp.net/gavinleader/archive/2008/09/08/calling-silverlight-managed-code-c-from-the-client-side-javascript.aspx#6610526</link><pubDate>Mon, 08 Sep 2008 20:23:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6610526</guid><dc:creator>funny wallpaper » Calling Silverlight managed code (C#) from the client-side (Javascript)</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;funny wallpaper &amp;amp;raquo; Calling Silverlight managed code (C#) from the client-side (Javascript)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6610526" width="1" height="1"&gt;</description></item><item><title>re: Silverlight 2 - Creating a Play/Pause button using a ControlTemplate</title><link>http://weblogs.asp.net/gavinleader/archive/2008/06/19/silverlight-2-creating-a-play-pause-button-using-a-controltemplate.aspx#6595290</link><pubDate>Wed, 03 Sep 2008 15:04:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6595290</guid><dc:creator>Jordan</dc:creator><description>&lt;p&gt;This answers a few questions I had about the power of control templates—thanks!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6595290" width="1" height="1"&gt;</description></item><item><title>re: AJAX History control - using with a GridView</title><link>http://weblogs.asp.net/gavinleader/archive/2008/06/19/ajax-history-control-using-with-a-gridview.aspx#6538965</link><pubDate>Tue, 19 Aug 2008 16:31:59 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6538965</guid><dc:creator>gavinleader</dc:creator><description>&lt;p&gt;Jaffar - The RefreshGrid() function simply calls a web service with the parameters I set in HistoryManager_Navigate and databinds the response to the GridView.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6538965" width="1" height="1"&gt;</description></item><item><title>re: AJAX History control - using with a GridView</title><link>http://weblogs.asp.net/gavinleader/archive/2008/06/19/ajax-history-control-using-with-a-gridview.aspx#6494535</link><pubDate>Thu, 07 Aug 2008 09:53:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6494535</guid><dc:creator>jaffar.hussain@adaptivesolutionsinc.com</dc:creator><description>&lt;p&gt; AJAX History control - using with a GridView&lt;/p&gt;
&lt;p&gt;This is very infromative and can u upload the code of RefreshGrid() function.&lt;/p&gt;
&lt;p&gt;I was looking for such a useful control.&lt;/p&gt;
&lt;p&gt;jaffar&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6494535" width="1" height="1"&gt;</description></item></channel></rss>