|
If I manage to enable client validation it will meet my need 99%.
I checked project awesome documentation and tried the following, all to no avail:
webconfig I did <appSettings> <add key="ClientValidationEnabled" value="true" />
awesomeconfigurator I did Settings.PopupForm.ClientSideValidation = true;
in _layout.cshtml I added <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js" type="text/javascript"></script>
in cruds_.ascx I added:
<%=Html.MakePopupForm("create", successFunction: "create", height: h, fullScreen:f, clientSideValidation:true)%>
<%=Html.MakePopupForm("Edit", new[] { "id" }, successFunction: "edit", height: he, fullScreen: f, clientSideValidation: true)%>
in my create view I even added
<% Html.EnableClientValidation(); %> before Html.BeginForm()
and
<script type="text/javascript"> enableClientValidation();</script> after it
What am I missing?
|