.net 4.5 uses unobtrusivevalidation. By default the javascript for client side validation is not loaded and client side validation does NOT occur.An explicit reference to <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" /> is needed to make client side validation work. The ref could be without URL (causes the javascript to be loaded as web resource) or with explicit url. See attached example site. Jquery is registered in the Global.asax.cs.The framework checks for existence of jquery. When validators are used also the WebUIValidation.js should be enforced when unobtrusive validation is turned on. Optionally enforce package like Microsoft.jQuery.Unobtrusive.Validation. The framework components should work out of the box and warn for any dependancies not fulfilled.
Visual Studio/Team Foundation Server/.NET Framework Tooling Version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results