Exemplo n.º 1
0
 /// <summary>
 /// Extension method that determines if the PopupManager has validation errors on any of its fields
 /// </summary>
 internal static bool HasValidationErrors(this PopupManager popupManager)
 {
     foreach (var field in popupManager.EditableDisplayFields)
     {
         if (popupManager.GetValidationError(field.Field) != null)
         {
             return(true);
         }
     }
     return(false);
 }