Browse by Tags

All Tags » Silverlight (RSS)

Extended Silverlight AutoCompleteBox for Handling Enter and Command Binding by jdanforth

In our RIA Services application, we’re using the AutoCompleteBox control, but what if you want to select something from the list, press Enter and bind to a Command in a viewmodel? Sort of like the Button Command property. I decided to extend the control...
Filed under:

Silverlight AutoCompleteBox DataTemplate by jdanforth

This is more a note for myself how to do this. The Silverlight 4 SDK contains a pretty good AutoCompleteBox that you can use. Download/install the SDK and and the control will be available in your Silverlight Controls Toolbox. If you try to use this with...
Filed under:

Masked Silverlight TextBox for Swedish National Identification Number (Personnummer) by jdanforth

In our upcoming Silverlight 4 project there’s a need for a textbox with a mask for entering a Swedish national identification number (personnummer) with either 10 or 12 digits, in the form of yyyymmdd-nnnn. It’s quite simple, I just want to make sure...
Filed under:

Silverlight Watermark TextBox Behavior by jdanforth

(using Visual Studio 2010 and .NET/Silverlight 4) Maybe there is a working solution for this already out there, but I created my own Silverlight Behavior for a basic TextBox Watermark which might be useful. I wanted to use it like this in my XAML (look...
Filed under:

Silverlight DataGrid and DataPager Notes by jdanforth

I need to write these things down somewhere... Brad's excellent tutorials and samples for learning Silverlight + RIA Services : http://blogs.msdn.com/b/brada/archive/2009/10/27/index-for-business-apps-example-for-silverlight-3-rtm-and-net-ria-services...
Filed under:

TFS Automatic Build Reporting Access to XAP Denied by jdanforth

If you’re working with TFS and automatic builds of Silverlight apps, you may happen to stumble upon this error in the end of the build: Copying file C:\Builds\2\xxx\yyy\Binaries\zzz.xap failed. Access to the path 'C:\Builds\2\xxx\yyy\Sources\www\ClientBin...
Filed under: , ,
More Posts