Category: Silverlight 3

  • Silverlight Coded UI Tests with UserControls & AutomationProperties

    Summary: Silverlight Coded UI tests don’t work properly against UserControls unless you specify either AutomationProperties.Name or AutomationProperties.Id on the UserControl. (Thanks to Howie Hilliker @ Microsoft for his help figuring out this problem!) With the release of Visual Studio 2010 Feature Pack 2, we now have the ability to create Coded UI Tests against our […]

  • Quick tip: Super slow Silverlight debugging? Check your Internet Explorer (IE) add-ons.

    I’ve been having problems debugging my Silverlight applications lately.  Everything ran fine as long as I didn’t hit a breakpoint but — WHOA NELLIE! — as soon as I did, I’d have to wait 10+ seconds before I could do anything.  And by “anything” I mean, *ANYTHING* on the computer.  I couldn’t change windows.  I […]

  • My First Windows Phone 7 App Is Live: NPR Listener

    The title pretty much says it all.  My first Windows Phone 7 (WP7) application was approved and is live on the Zune Marketplace.   It’s called NPR Listener and (surprise) it accesses National Public Radio’s (NPR) web service APIs so that you can stream the audio for the stories that they’ve published.  It’s free so go […]

  • TFS2010 Build failed — “Microsoft.Silverlight.Common.targets (104): The Silverlight 4 SDK is not installed”

    I ran in to a problem trying to compile a Silverlight 4 project with Team Foundation Server 2010 and Team Build.  I ran the build and got the error: C:Program Files (x86)MSBuildMicrosoftSilverlightv4.0Microsoft.Silverlight.Common.targets (104): The Silverlight 4 SDK is not installed I found Andru’s blog post with a solution for this in Silverlight 3.0 where he […]

  • Add a Footer Row to a Silverlight 3 DataGrid

    A missing feature in the Silverlight 3 DataGrid is the ability to add a footer row.  For example, if you were trying to create a timesheet application using Silverlight, you’d want to be able to show the total number of hours for each day as shown in the image below.  The solution that I came […]

  • Missing or hidden rows in Silverlight 3 DataGrid after applying a theme

    I’ve been playing around with the Silverlight 3 DataGrid and Silverlight Themes in an attempt to come up with a nice looking user interface.  I’ve got to admit that I’m not the best graphic designer in the world so I’ve mostly been working with the out-of-the-box themes like ExpressionDark, BureauBlack, and ShinyBlue. A couple of […]