Some great Silverlight posts on the DataGrid, HtmlTextBlock, right clickin’, and more

20 March 2008

There’s been some sweet blog activity this past week, so in case you aren’t subscribed to all of these blogs, take a look:

Using the Silverlight DataGrid
Scott Morrison gets you started using the DataGrid, autogenerating columns are great!  Also useful if you’re new to the data binding in Silverlight.

Isolated Storage
Wilco Bauwer is the developer on our team who’s done much of the isolated storage API work that’s new to Silverlight, he has a quick look at IsoStore in the beta.  Also check out his detailed interoperability post, all about the HTML DOM bridge feature that is much more powerful than that delivered last year in the v1.1 alpha.

Right-click
Peter Blois has a good Windows Internet Explorer and Firefox right-click bubbling implementation.  Above, his minesweeper implementation that lets you flag using a right-click.

 

HtmlTextBlock
David Anson revises his HtmlTextBlock control, now supporting Beta 1 of Silverlight 2.  Good stuff!  Above is his sample app, available for download as an attachment on his post.

Synchronous network stack
Although personally I’m a major fan of the asynchronous-only network stack exposed by Silverlight 2, some people are definitely in favor of synchronous calls, so this forum post on Silverlight.net by Jack Bond might get you where you’ll looking to go.

Related,
I’ll work to release my 100% asynchronous Flickr API implementation in the coming weeks, so look for that.

HttpUtility
I’ve had a few people ask recently how to URL encode strings in Silverlight.  Within the System.Windows.Browser namespace, there’s the HttpUtility type which is very similar to ASP.NET’s, so there you’ll find HtmlDecode, HtmlEncode, UrlDecode, & UrlEncode.

Using a production web server
Brad Abrams provides some hosting tips for making sure that .xap, .xaml, and other filetypes can be served with some server configuration tips.

Enjoy!

Jeff Wilcox is a Software Engineer at Microsoft in the Open Source Programs Office (OSPO), helping Microsoft engineers use, contribute to and release open source at scale.

comments powered by Disqus