Result:
I run in VS.NET's debug mode and found this
[image||{UP}images/scriptCombine.gif]
ScriptManager combine the script reference files in one,so the script reference count from 3 lower to 1. if using a large number of DJ web controls this feature will be get the high performance.
so when you build your jQuery Web Control using DNA.UI you can use ScriptBuilder.AddCompositeScript to add your script reference because this method will check if the script is already reference or not.Because if you using ScriptManager.CompositeScript do not allow add script reference more than once.
ClientScriptManager.AddCompositeScript("jQuery.ui.core.js","jQuery");
-
-
Reads(1208)
-
Permalink