how to check in View if validation succeded (same as ModelState in Controler)?
+3
A:
you can use ModelState in view, this way:
<% if (this.ViewData.ModelState.IsValid) { %>
/* put your html here */
<% } %>
Alex LE
2010-02-14 00:52:31