Tales from the Evil Empire

Bertrand Le Roy's blog

News

Ads Via DevMavens

ASP.NET AJAX UpdatePanel Control: Add Ajax interactivity to your ASP.NET 2.0 web pages


follow bleroy at http://twitter.com


Add to Technorati Favorites

Blogs I read

My other stuff

Client templates in MSDN Magazine

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

Comments

Mike Carillon said:

Great article! I'm looking forward to using this. When will the next version be out? Thanks.

# October 6, 2008 8:31 AM

Andy said:

Nice article , but why is the screendumps taken with firefox ? :)

# October 7, 2008 6:17 AM

martillo said:

Betrand, your article is exceptionally well-written and well-organized. Thank you!

# October 7, 2008 10:32 AM

Bertrand Le Roy said:

@Mike: next version is going to be released this month.

@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.

@Martillo: thanks.

# October 7, 2008 1:33 PM

martillo said:

PS - in the code download, line 96 in 2_UpdatePanel.aspx does not compile.

To get it to compile I changed it from:

from p in AdventureWorksContext.Products [...]

to

using ( var AdventureWorksContext = new AdventureWorksDataContext() )

{[...]}

# October 7, 2008 1:49 PM

Jonas Follesø said:

Great article! I love the new Client Templates in ASP.NET AJAX 4.0.

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.

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.

Works great, as it's dead simple to serialize Silverlight 2 objects to JSON and invoke JavaScript functions :)

The post is up at jonas.follesoe.no/PrintingInSilverlight2UsingCSSAndASPNETAJAX4.aspx

Cheers,

Jonas

# October 12, 2008 10:37 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)