public void SetErrors(ValidationInfo info)
 {
     foreach (var error in info.Errors)
     {
         var control = FindControl(error.PropertyName);
         if (control != null)
             SetError(control, error.Text);
     }
 }
 public ValidationException(string message, ValidationInfo info)
     : this(message)
 {
     Info = info;
 }
 public ValidationException(ValidationInfo info)
     : this()
 {
     Info = info;
 }