This is a migrated thread and some comments may be shown as answers.

[Solved] <%Html.Telerik().ScriptRegistrar() Problems

0 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Leonard Whitehead
Top achievements
Rank 1
Leonard Whitehead asked on 10 Nov 2010, 12:24 PM

I'm stuck moving an application into SYSTEST and have spent days trying to work out why the JQuery resources throw a 404.

In our ScriptIncludes File we have the standrad block
  Line 16:     <%Html.Telerik().ScriptRegistrar().jQuery(false).DefaultGroup(
  Line 17:         group => group.Add(ResolveUrl("~/jQuery/jquery-1.4.2.min.js"))
  Line 18:                       .Add(ResolveUrl("~/jQuery/validation/xVal.jquery.validate.js"))

And I've tried manually putting these in and blocking the MVC routing to the Content folder by putting this in our Global.asax

  routes.IgnoreRoute("{folder}/{*pathInfo}", new { folder = "content" });

But still the page renders all except for the grid. Pulling my hair out on this one so any help appreciated. Works on all our dev machines just not when called externally.

Lenny
Tags
General Discussions
Asked by
Leonard Whitehead
Top achievements
Rank 1
Share this question
or