|
I'm defining my form:
@using (Html.BeginForm("Index", "CurrentYear"))
{
and I see it in the generated HTML. How would I tell if the correct validation plugin is being inserted?
I have the following in my _Layout.cshtml
<script type='text/javascript' src="@Url.Content("~/Scripts/jquery-1.6.1.min.js")"></script>
<script type='text/javascript' src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>
<script type='text/javascript' src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
<script type='text/javascript' src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>
<script type='text/javascript' src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")"></script>
I have the enable sorting declared right before the closing bracket for my form using statement
@Html.EnableSortingFor(m => m.Turtles, m => m.TurtleOrder, "NormalHeaderTurtle", "AscendingHeaderTurtle", "DescendingHeaderTurtle", true)
|