Im trying to use the example from this site to do client site validation. Im trying to use the html form tag instead of the "Html.BeginForm()" but doing that disables the client side validation. Does EnableClientValidation only work with Html.BeginForm. What is the difference?
<%@ Page Language="C#" Inherits="ViewPage<ProductViewModel>" %>
<% Html.EnableClientValidation(); %>
<% using (Html.BeginForm()) { %>
<%= Html.TextBoxFor(m => m.Title) %>
<%= Html.ValidationMessageFor(m => m.Title) %>
<%= Html.TextBoxFor(m => m.Price) %>
<%= Html.ValidationMessageFor(m => m.Price) %>
<input type="submit" />
<% } %>