I am having a slight issue with the use of ValidationSummary(true) to display model level errors. If the ModelState does not contain model errors (i.e. M
ValidationSummary(true)
M
@if (ViewContext.ViewData.ModelState.Count > 0)
{
//Your content
}
Would work like charm.