This workaround almost works, but I'm running into a glitch.
When I do this:
@( Html.Telerik().ScriptRegistrar().jQuery(false).Scripts(s => s.AddSharedGroup("jq")))
and this is jq in the web.config
<add name="jq" combined="false" compress="false" enabled="true">
<items>
<add source="~/public/js/jquery/jquery-1.4.4.min.js" />
</items>
</add>
What happens is the loading order is incorrect. It loads the jquery file after the other telerik control files. It needs to be loaded first for everything to work correctly.
This is the loading order output for the above ScriptRegistrar call:
<script type="text/javascript" src="/public/js/t/2011.1.224/telerik.common.min.js"></script>
<script type="text/javascript" src="/public/js/t/2011.1.224/telerik.menu.min.js"></script>
<script type="text/javascript" src="/public/js/jquery/jquery-1.4.4.min.js"></script>
notice the jquery file is loaded last.
Now, if I use the default like this:
@( Html.Telerik().ScriptRegistrar())
The loading order is corrrect...
<script type="text/javascript" src="/public/js/t/2011.1.224/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="/public/js/t/2011.1.224/telerik.common.min.js"></script>
<script type="text/javascript" src="/public/js/t/2011.1.224/telerik.menu.min.js"></script>
How can I use your workaround to use 1.4.4 with the ScriptRegistrar?
Many Thanks