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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…