I have code that contains:
@Html.ValidationSummary(true)
I looked at the MSDN site and still can't see what setting "true" does? What I notice is that when I have validation messages that are for fields then it still creates a validation summary DIV that's empty.
Is there a way to supress the creating of the summary DIVs as they don't show anything when for example my field is a duplicate.
See Question&Answers more detail:os