This question is locked. New answers and comments are not allowed.
Hi,
I moved my Telelrik Scripts from ~/Scripts/2011.3.1115 to ~/Scripts/3rdParty/2011.3.1115. I then changed the default path in my layout page:
For Telerik elements in partial view, I have to use
After having done that all, i deleted the original directory ~/Scripts/2011.3.1115 and now the scripts needed are not found when getting a partial view via ajax. So I undid my delete and now it works again, but then i realised that the scripts are found in the new folder as you can see in my attachment. What is going on here? And is it somehow possible to change the default script path only at one place?
Kind Regards
I moved my Telelrik Scripts from ~/Scripts/2011.3.1115 to ~/Scripts/3rdParty/2011.3.1115. I then changed the default path in my layout page:
@(Html.Telerik().ScriptRegistrar()
.jQuery(false)
.DefaultGroup(group => group
.DefaultPath("~/Scripts/3rdParty/")
.Combined(true)
.Compress(true)))
For Telerik elements in partial view, I have to use
@(Html.Telerik().Grid<
Model
>()
.ScriptFilesPath("~/Scripts/3rdParty/")
After having done that all, i deleted the original directory ~/Scripts/2011.3.1115 and now the scripts needed are not found when getting a partial view via ajax. So I undid my delete and now it works again, but then i realised that the scripts are found in the new folder as you can see in my attachment. What is going on here? And is it somehow possible to change the default script path only at one place?
Kind Regards