This question is locked. New answers and comments are not allowed.
Hi there,
is this a reasonable behaviour that Telerik.Web.Mvc is try to load the 'jquery.validate.js' script if 'jQuery(false)' is used? I think a better behaviour is to not try to load it or add a jQueryValidate(false) or something like that. Currently i use a patch to change it, so that 'jquery.validate.js' isn't load anymore if 'jQuery(false)' is used. Maybe there is another solution?
Patch (not fully tested yet):
I use the currently available open source download version from the telerik site.
regards
Kai
is this a reasonable behaviour that Telerik.Web.Mvc is try to load the 'jquery.validate.js' script if 'jQuery(false)' is used? I think a better behaviour is to not try to load it or add a jQueryValidate(false) or something like that. Currently i use a patch to change it, so that 'jquery.validate.js' isn't load anymore if 'jQuery(false)' is used. Maybe there is another solution?
Patch (not fully tested yet):
// change line 33 in Telerik.Web.Mvc.UI.ScriptRegistrar (ScriptRegistrar.cs)private static readonly IList<string> frameworkScriptFileNames = new List<string> { jQuery }; //oldprivate static readonly IList<string> frameworkScriptFileNames = new List<string> { jQuery, jQueryValidation }; //new// comment line 611 in Telerik.Web.Mvc.UI.Grid (Grid.cs)
// (i'm wonder that's the only file where this is used) ScriptFileNames.Add("jquery.validate.js"); // old// ScriptFileNames.Add("jquery.validate.js"); // newI use the currently available open source download version from the telerik site.
regards
Kai