I have a typical ADO.NET EF-driven form that allows the user to input a date. I have put a jQuery datepicker on it but when the user goes to select a date the browser shows
I used Darin's above and applied it successfully to a demo:
@model RequestAQuote.Models.RequestAQuoteModel
@{
ViewBag.Title = "Request a Free Quote";
List ProjectTypes = new List();
ProjectTypes.Add("Electrical Wiring");
ProjectTypes.Add("Install Breakers");
ProjectTypes.Add("Ceiling Fan");
ProjectTypes.Add("Replace Light");
ProjectTypes.Add("Replace Outlet");
}
Request A Quote
@using (Html.BeginForm())
{
@Html.ValidationSummary()
}
@section scripts
{
@Scripts.Render("~/bundles/jqueryval")
}
}