Monday, May 10, 2010

Globalizing ASP.NET MVC Client Validation

Globalizing ASP.NET MVC Client Validation


Globalizing ASP.NET MVC Client Validation

Posted: 10 May 2010 01:00 PM PDT

One of my favorite features of ASP.NET MVC 2 is the support for client validation. I've covered a bit about validation in the following two posts: ASP.NET MVC 2 Custom Validation covers writing a custom client validator. Localizing ASP.NET MVC Validation covers localizing error messages. However, one topic I haven't covered is how validation works with globalization. A common example of this is when validating a number, the client validation should understand that users in the US enter periods as a decimal point, while users in Spain will use a comma. For example, let's assume I have a type with the RangeAttribute applied. In this case, I'm applying a range from 0 to 1000. public class Product { [Range(0, 1000)] public int QuantityInStock {...(read more)

Silverlight HVP – Next Steps and Community Involvement

Posted: 10 May 2010 08:23 AM PDT

The Silverlight HyperVideo project ran full steam from January through the day before Mix, and then went on hiatus while we all recovered, and while I pondered three critical questions: What features and changes are needed to bring the HVP up to the point...( read more )...(read more)

geoGallery, a WinPhone7 sample

Posted: 09 May 2010 02:37 PM PDT

Recently I had some time to play with the new Windows Phone 7 Developer Tools CTP. I have created a sample application (called „geoGallery"), you can watch the demo video and download the code. It's a Gallery application, but to give it a little twist...( read more )...(read more)

Windows Client Developer Roundup for 5/10/2010

Posted: 09 May 2010 09:26 PM PDT

This is Windows Client Developer roundup #23. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Surface, Windows 7, XNA, Windows Forms , Silverlight , Windows Phone and Visual Studio...( read more )...(read more)

Windows Client Developer Roundup for 5/10/2010

Posted: 09 May 2010 09:26 PM PDT

This is Windows Client Developer roundup #23. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Surface, Windows 7, XNA, Windows Forms , Silverlight , Windows Phone and Visual Studio...( read more )...(read more)

Creating a Simple Report Writer in Silverlight 4

Posted: 09 May 2010 03:32 PM PDT

Over the weekend, I was working on the Printing chapter of my Silverlight 4 Book . As part of that chapter, I decided to build a simple report writer. While there's a lot of other useful stuff in the chapter (buy my book! <g>) I felt the report...( read more )...(read more)

Creating a Simple Report Writer in Silverlight 4

Posted: 09 May 2010 03:32 PM PDT

Over the weekend, I was working on the Printing chapter of my Silverlight 4 Book . As part of that chapter, I decided to build a simple report writer. While there's a lot of other useful stuff in the chapter (buy my book! <g>) I felt the report...( read more )...(read more)

My talk at the Launch of the Vancouver Silverlight User Group

Posted: 09 May 2010 02:56 PM PDT

Last week I did a presentation for the Launch of the new Vancouver Silverlight User Group ( http://vanslug.net ). I had a touch screen laptop so I started my presentation with the Multi Touch Silverlight Puzzle demo, wow effect guaranteed!   So 80...( read more )...(read more)

No comments:

Post a Comment