7
Shouts

Ordering fields in ASP.NET MVC 2 templated helpers

published 862 days, 1 hour, 39 minutes ago posted by ali62bali62b 863 days, 6 hours, 37 minutes ago
Wednesday, January 13, 2010 12:17:38 PM GMT Tuesday, January 12, 2010 7:19:00 AM GMT

Ever worked with the templated helpers provided by ASP.NET MVC 2? Templated helpers provide a way to automatically build UI based on a data model that is marked with attributes defined in the System.ComponentModel.DataAnnotations namespace. For example, a property in the model can be decorated with the attribute [DisplayFormat(DataFormatString = "{0:c}")], and the templated helpers will always render this field formatted as currency. If you have worked with templated helpers, you must agree: they can be...

category: ASP.NET | clicked: 0 | | source: blog.maartenballiauw.be | show counter code
tags: ASP.NET MVC 2