所需的最终结果:
<% if(I_HAVE_ERRORS) {%> <div><%= Html.ValidationSummary() %></div> <%}%>
换句话说,我如何确定“I_HAVE_ERRORS”
Thanx
<%if (!Html.ViewData.ModelState.IsValid){%>