0
Reply

example Custom validation in c# metro applivation

ayc

ayc

Sep 24 2012 5:48 AM
1.2k
hi, how to customize an Attribute for validation.i need 1 very goood example.

but i have doubt that : 
in 

 m_validationAttributes.Add(new CustomValidationAttribute(typeof(DateOfBirthValidator), "ValidateDateOfBirth"));
       
what i can write in ValidateDateOfBirth ? what is the signature for it?