1
Votes

Web 2.0 | Form validation with ASP.NET MVC using IErrorDataInfo Interface

published 343 days, 9 hours, 50 minutes ago posted by farooqkaiserfarooqkaiser 352 days, 13 hours, 6 minutes ago
Saturday, August 22, 2009 6:04:21 PM GMT Thursday, August 13, 2009 2:48:51 PM GMT

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....

Category: Technology | Clicked: 2 | | Source: www.fairnet.com | show counter code
Tags: ASP.NET MVC, C#

No comments yet, be the first one to post comment.

To post your comment please login or signup