|
|
|
Thursday, August 13, 2009 2:51:39 PM
GMT
|
|
www.fairnet.com --
As I already shown in my previous article Form validation with ASP.NET MVC. In this article, I will explore an alternative method of implementing validation logic. I will show you how to perform validation by using the IErrorDataInfo interface.public interface IDataErrorInfo{ // Properties string Error { get; } string this[string columnName] { get; }}
We will modifylast articlethat will implementIErrorDataInfo Interface. To implement the IDataErrorInfo interface, we must create a partial class. Ou...
|
|
tags:
asp.net 3.5, mvc
|
|
No comments yet, be the first one to post comment.