Posted on: 1/8/2014 8:58:28 AM | Views : 832

ASP.NET has some default scripts like WebUIValidation.js built in, and they are automatically fetched when needed from ScriptResource.axd and WebResource.axd.
Whenever a page with a validator is present a script file called ScriptResource.axd?=someGuid.js will be loaded.
How do I use a local WebUIValidation.js file instead? (in ASP.NET 4.5)
What I've tried:
This SHOULD be easy. You should just be able to override the file with a script reference
<asp:scriptreference name="WebForms.js" assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> Hanselman has done this here: http://www.hanselman.com/blog/ASPNETAjaxScriptCombiningAndMovingScriptResourceaxdsToStaticScripts.aspx
I've tried that, ...

Go to the complete details ...