admin
Name: admin
Score: n/a
Last Seen: 381 days, 20 hours, 20 minutes ago
Member Since: 8 August, 2009
Role:
Administrator
Fairnet.com
atom rss
2
fairs
spam fair unfair

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

posted by adminadmin 392 days, 4 hours, 13 minutes ago
Thursday, August 13, 2009 4:29:58 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.... (more)
category: ASP.NET | clicked: 5 | comment | | source: www.fairnet.com
tags: asp.net MVC, C#