开发者

Something is still looking for jquery 1.3

开发者 https://www.devze.com 2022-12-19 03:44 出处:网络
I upgraded from JQuery 1.3 to 1.4.1, but now I get an exception: System.IO.FileNotFoundException was unhandled by user code

I upgraded from JQuery 1.3 to 1.4.1, but now I get an exception:

System.IO.FileNotFoundException was unhandled by user code
Message="Specified file does not exist: \"~/Scripts/jquery-1.3.2.js\"."
Source="Telerik.Web.Mvc"

in the call to Telerik's ScriptRegistrarBuilder.Render(). But I am not referring to Jquery 1.3 anywhere in my code! If I do a global recursive 开发者_高级运维*.* search on jquery-1.3.2 I come up with nothing. Where could that rogue reference be coming from?


You need to upgrade! ServicePack 2 for Telerik supports jQuery 1.4:

Service Pack 2 for Telerik Extensions for ASP.NET MVC released


Not positive, but it's probably referenced directly in Telerik's code (in which case, you're going to need it no matter what).


As Nick Craver said you need to upgrade to Service Pack 2. The version you are currently using is based on jQuery 1.3.2 and simply avoiding the automatic inclusion of jquery-1.3.2.js won't be enough as jQuery 1.4 is not 100% compatible with jQuery 1.3.2.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号