Hi,
I'm trying to add a composite scriptreference like this;
ScriptReference scriptReference = new ScriptReference("CSSFriendly.JavaScript.MenuAdapter.js", "CSSFriendly"); scriptReference.NotifyScriptLoaded = false; scriptManager.CompositeScript.Scripts.Add(scriptReference);
In the CSSFriendly assembly the script resource is defined;
[assembly: WebResource("CSSFriendly.JavaScript.TreeViewAdapter.js", "application/x-javascript")]
And registered as:
ScriptManager.RegisterClientScriptResource(page, type, "CSSFriendly.JavaScript.TreeViewAdapter.js");
But the ScriptResource.axd for this js file is still included! It works with MicrosoftAjax.js in System.Web.Extensions, but not with my own assembly.