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

[Solved] ScriptRegistrar using another folder?

1 Answer 50 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.
Magnus
Top achievements
Rank 1
Magnus asked on 11 Nov 2010, 03:24 PM
Hi there.

I have a question about the <%= Html.Telerik().ScriptRegistrar()%> and how it´s working.

We have a kinda large project and all our  js-scripts are in another folder for version-handling and i want to use that folder with all the telerik js-scripts aswell.

I've tried to load all the required .js files without using the ScriptRegistrar() but grid-filtering etc doesn't work then.

So.. is it possible to load all the required telerik .js-files form another folder or somthing?

Ex:
/Archive/Scripts/Telerik/{version-tag}/

instead of

/Scripts/{version-tag}


Any help would be appreciated
/ Magnus

1 Answer, 1 is accepted

Sort by
0
Magnus
Top achievements
Rank 1
answered on 11 Nov 2010, 03:27 PM
Hmm. i kinda suck in searching in forums.

I might found the solution myself after some more searching.

"<%= Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.DefaultPath("~/Location"))%> "

i will try that when i'm back at my office. If anyone have any other suggestion. Just let me know.

/ M.
Tags
General Discussions
Asked by
Magnus
Top achievements
Rank 1
Answers by
Magnus
Top achievements
Rank 1
Share this question
or