Blog

How to use FluentValidation to display validation errors and warnings in ASP.NET MVC

This post will provide a simple example of how to display multiple validation message types, like errors and messages, using FluentValidation. The ValidationSummary and TextBox messages will then be formatted differently, depending on the type, using an HTMLHelper. The above screen shot is an example of a possible result using …

Read More »
How to use the Html.EditorFor method

This post will cover the following points (aprox. reading time 15mins): What is the Html.EditorFor method? Simple EditorFor example Extending EditorFor with templates based on Data Type (ie. Decimal) Extending EditorFor with templates based on Model Attribute (ie. DateTime with picker) What is the Html.EditorFor method? Microsoft defines the Html.EditorFor …

Read More »
Top ↑
Copyright © 2012 Pearson & Steel Limited. All rights reserved.