March 2008 - Posts

Simple Form Validation - A Reflection based approach by Tanzim Saqib on .NET discovery

Are you tired of placing multiple Validation controls on Form? If you are bored of following scenario like me, keep on reading the post: A simple Email address validation can consist of whether The field is empty Longer than limit Email address format...
Filed under: , ,

Defining Columns for a Silverlight DataGrid by Scott Morrison

This post has been updated to work with the RTW version of the Silverlight 2 DataGrid .  The code examples are not guaranteed to work with previous Beta versions of the DataGrid. Read more about the features that the Silverlight 2 DataGrid has to...

Ink in Silverlight 2 (Beta 1) by Stefan Wick's Weblog - Development with Silverlight, WPF and Tablet PC

I am very excited to write my first blog post about Silverlight 2 today, the project I am currently working on. In early March 2008 we shipped a public Beta for Silverlight 2 that you can download (along with all the neccessary tools) from http://silverlight...

Using The Silverlight DataGrid by Scott Morrison

This post has been updated to work with the RTW version of the Silverlight 2 DataGrid .  The code examples are not guaranteed to work with previous Beta versions of the DataGrid.  Read more about the features that the Silverlight 2 DataGrid...

More to Silverlight 2 Beta 1 Controls than *just* controls! by Kathy Kam

Now that I have recovered from the excitement of Las Vegas, I thought I'll sit down and give a run down to all the great stuff we've done that is the release of Silverlight 2 Beta 1 Controls. There are more to the controls than first meets the...

Getting Started With Silverlight by Scott Morrison

Odds are if you are on this site you are probably interested in building Silverlight applications. Here’s the rundown of what you need to get up and running. What You Will Need You will need either Visual Studio 2008 , or the Expression Blend 2.5 Preview...
Filed under: ,

How to tell the screen resolution from within a Silverlight app by Even a chimp can write code

There isn't a direct API for detecting the screen width and height from within a Silverlight app. Fortunately, JavaScript provides you a way, viz. via the screen.width and screen.height properties. So with a nifty use of Silverlight's HTML DOM...
Filed under:

Silverlight 2: Demystifying URI references for app resources by Even a chimp can write code

In this post we will look at how application data files can be referenced using relative Uris from within XAML or code in your Silverlight 2 application. Silverlight provides you with a luxury of choices for how you declare your application data files...

Transcoding media files for Silverlight by Even a chimp can write code

Silverlight supports Windows Media Audio and Video (WMA, VC-1/WMV7-9) and MP3 formats. If you have existing media assets in other formats, you can convert them into a format Silverlight can understand. There are a couple ways to do this. On your desktop...

How to pass initialization params to a Silverlight 2 app by Even a chimp can write code

This is something of an FAQ on our internal discussion lists, so I figured it merited a post. Step 1 : Declare the initParams param on the Silverlight plug-in and pass in a comma-delimited set of key-value pair tokens. For e.g. "key1=value1,key2...
Filed under:

Silverlight 2: Application model by Even a chimp can write code

The first public beta of Silverlight 2 is now live. If you've played with building apps on it, you know we weren't kidding when we used the "Windows Presentation Foundation / Everywhere" moniker. Although we didn't inflict that monstrosity...
Powered by Community Server (Non-Commercial Edition), by Telligent Systems