<?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>Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx</link><description>My first full-length article in MSDN Magazine is out with the October issue and it’s about Microsoft AJAX client templates . Check it out… http://msdn.microsoft.com/en-us/magazine/cc972638.aspx</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx#6676104</link><pubDate>Mon, 13 Oct 2008 02:37:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6676104</guid><dc:creator>Jonas Follesø</dc:creator><author>Jonas Follesø</author><description>&lt;p&gt;Great article! I love the new Client Templates in ASP.NET AJAX 4.0.&lt;/p&gt;
&lt;p&gt;I recently did a blog post about how you can use the client templates from Silverlight 2 to generate HTML on the client to support printing. The out-of-box printing experience in Silverlight 2 is really poor/useless, so people have to come up with workarounds.&lt;/p&gt;
&lt;p&gt;One option is to use pop-ups and server side generation of HTML... But I tried to solve this using client templates to generate HTML, and then use CSS print style sheets to hide the Silverlight control and show the dynamically generated HTML.&lt;/p&gt;
&lt;p&gt;Works great, as it&amp;#39;s dead simple to serialize Silverlight 2 objects to JSON and invoke JavaScript functions :) &lt;/p&gt;
&lt;p&gt;The post is up at &lt;a rel="nofollow" target="_new" href="http://jonas.follesoe.no/PrintingInSilverlight2UsingCSSAndASPNETAJAX4.aspx"&gt;jonas.follesoe.no/PrintingInSilverlight2UsingCSSAndASPNETAJAX4.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jonas&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6676104" width="1" height="1"&gt;</description></item><item><title>re: Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx#6663103</link><pubDate>Tue, 07 Oct 2008 17:49:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6663103</guid><dc:creator>martillo</dc:creator><author>martillo</author><description>&lt;p&gt;PS - in the code download, line 96 in 2_UpdatePanel.aspx does not compile. &lt;/p&gt;
&lt;p&gt;To get it to compile I changed it from:&lt;/p&gt;
&lt;p&gt;from p in AdventureWorksContext.Products [...]&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;using ( var AdventureWorksContext = new AdventureWorksDataContext() )&lt;/p&gt;
&lt;p&gt;{[...]}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6663103" width="1" height="1"&gt;</description></item><item><title>re: Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx#6663072</link><pubDate>Tue, 07 Oct 2008 17:33:45 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6663072</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><description>&lt;p&gt;@Mike: next version is going to be released this month.&lt;/p&gt;
&lt;p&gt;@Andy: to make it very clear that everything we do in Microsoft Ajax is cross-browser. There are still people who believe that Microsoft Ajax only works on IE. This is not the case, we support Firefox, Safari, Opera and IE today.&lt;/p&gt;
&lt;p&gt;@Martillo: thanks.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6663072" width="1" height="1"&gt;</description></item><item><title>re: Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx#6662646</link><pubDate>Tue, 07 Oct 2008 14:32:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6662646</guid><dc:creator>martillo</dc:creator><author>martillo</author><description>&lt;p&gt;Betrand, your article is exceptionally well-written and well-organized. Thank you!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6662646" width="1" height="1"&gt;</description></item><item><title>re: Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx#6662016</link><pubDate>Tue, 07 Oct 2008 10:17:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6662016</guid><dc:creator>Andy</dc:creator><author>Andy</author><description>&lt;p&gt;Nice article , but why is the screendumps taken with firefox ? :)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6662016" width="1" height="1"&gt;</description></item><item><title>re: Client templates in MSDN Magazine</title><link>http://weblogs.asp.net/bleroy/archive/2008/10/05/client-templates-in-msdn-magazine.aspx#6659219</link><pubDate>Mon, 06 Oct 2008 12:31:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6659219</guid><dc:creator>Mike Carillon</dc:creator><author>Mike Carillon</author><description>&lt;p&gt;Great article! I&amp;#39;m looking forward to using this. When will the next version be out? Thanks.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6659219" width="1" height="1"&gt;</description></item></channel></rss>