I think I may have thought of the cause of the issue I am having.
We are currently using the following that is generated by the Telerik control to get the Telerik scripts we need:
if(!jQuery.telerik)
{
jQuery.ajax({
url:"/Relative/Path/telerik.common.min.js",
dataType:"script",
cache:false,
success:function(){
jQuery.telerik.load(...);
}});
}
else
{
jQuery.telerik.load(...);
}
I believe what is happening is that jQuery.telerik.load(...) inside the success function is not being executed before the next time if(!jQuery.telerik) { ... } is hit for another Telerik control. Therefore it makes multiple Ajax requests for the same Telerik scripts.
Do you have a recommended solution for this?
Thanks.
Edit:
Always referencing the telerik.common script resolves the issue with the same script being retrieved multiple times. I am still having an issue with the ComboBox when I always reference the telerik.common script. The ComboBox works fine if I do this:
helper.Telerik().ScriptRegistrar().DefaultGroup(group => group
.Add("telerik.common.min.js")
.Add("telerik.combobox.min.js")
.Add("telerik.list.min.js"));