Hi,
when combining scripts i still get a number of script references on my page.
In particular a webresource.axd with about 500 lines of code (containing "function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {", etc)
My script manager block (which i place in a masterpage) is as follows:
when combining scripts i still get a number of script references on my page.
In particular a webresource.axd with about 500 lines of code (containing "function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {", etc)
My script manager block (which i place in a masterpage) is as follows:
<telerik:RadScriptManager ID="RadScriptManager1" EnablePartialRendering="false" EnableScriptCombine="True" | |
EnableViewState="false" runat="server" OutputCompression="Disabled" ScriptMode="Release" LoadScriptsBeforeUI="false" | |
CompositeScript-ScriptMode="Release"> | |
<CompositeScript> | |
<Scripts> | |
<asp:ScriptReference Name="MicrosoftAjax.js" NotifyScriptLoaded="true" /> | |
<asp:ScriptReference Name="MicrosoftAjaxWebForms.js" /> | |
</Scripts> | |
</CompositeScript> | |
</telerik:RadScriptManager> |
this brings it down to two references (webresource.axd and Telerik.Web.UI.WebResource.axd )
When i didn't include the <compositeScript> and the two references to Microsofts .js files, i got a number of scriptResources.axd's on my page. Ditto if i set EnablePartialRendering=true.
the page itself, contains a menu and a drop down.
Also - i have set loadscriptsbeforeGUI to false - expecting the larger Telerik.Web.UI.WebResource.axd to render at the bottom of the page. However, it is actually rendering nearer the top - just after the body tag.
My desired outcome is to have all the script in one referenced file, linked to the page at the bottom. Is this possible? Can you tell me what i may be doing wrong?
thanks,
Richard