/// <summary>Sets the validator expression for email fields.</summary> private void SetEmailValidation() { this.FriendEmailPatternValidator.ValidationExpression = FeaturesController.GetEmailRegularExpression(this.PortalId); this.SenderEmailPatternValidator.ValidationExpression = FeaturesController.GetEmailRegularExpression(this.PortalId); }
/// <summary>Sets the validator expression for email fields.</summary> private void SetEmailValidation() { this.CarbonCopyValidator.ValidationExpression = FeaturesController.GetEmailListRegularExpression(this.PortalId); this.BlindCarbonCopyValidator.ValidationExpression = FeaturesController.GetEmailListRegularExpression(this.PortalId); this.FromValidator.ValidationExpression = FeaturesController.GetEmailRegularExpression(this.PortalId); }