I need to wrap the Validation Summary in a div. How do I set the Validation Summary to wrap it with a div when errors are present?
What you can do is this :
<%if (!ViewData.ModelState.IsValid) { %> <%= Html.ValidationSummary( "Login was unsuccessful. Please correct the errors and try again.") %> <% } %>