title: How to not display ASP MVC ValidationSummary in case when errors already displayed field by field?
body: <p>I would not like to display the ValidationSummary in case it only displays already displayed field related errors. However I do need ValidationSummary when custom server side validation error occurs like:</p>
  
  <pre><code>if (!UserManager.IsEmailConfirmed(user.Id))
  {
      AuthenticationManager.SignOut();
      ModelState.AddModelError("", "You need to confirm your email.");
      return View(model);
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/YQaVg.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/MSWk1.jpg" alt="enter image description here"></p>