Declined
Last Updated: 04 Oct 2017 11:13 by ADMIN
ADMIN
Peter Filipov
Created on: 10 Jan 2014 09:31
Category: ScriptManager
Type: Feature Request
36
ADD Defer loading of the javascript files
The script tags should contain "defer" attribute.

Resolution: You can set the LoadScriptsBeforeUI property of the script manager to false so that the scripts will render as late in the page as possible (just above the inline <script> that MS AJAX generates for the $create() statements). This will provide benefit nearly identical to the defer feature, but it does not risk breaking existing functionality. More information on the property:  https://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.loadscriptsbeforeui(v=vs.110).aspx
5 comments
ADMIN
Marin Bratanov
Posted on: 03 Oct 2017 11:41
Hi all,
In the meantime, you can use the LoadScriptsBeforeUI property of the script manager and set it to false so that the scripts it registers move down in the page: https://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.loadscriptsbeforeui(v=vs.110).aspx
Decisive Computing
Posted on: 21 Dec 2016 12:25
I agree with all three. I have even created my own subclass of RadScriptManager to do this but had to write way too much code as everything I needed to override and/or call is marked as private!
Kiril
Posted on: 17 Nov 2016 10:44
I can second everything what Curtis said. 
We implemented various websites for customers using Sitefintiy in Webforms mode and it comes with RadScript manager.
Control of the script loading would help enormosly to the performance of the websites.
Curtis
Posted on: 17 Nov 2016 05:28
This is really huge. Defer or Async should be possibilities. This is much more important than silly new controls like CheckBoxList, RadioButtonList, and more Buttons.
SSirica
Posted on: 14 Feb 2014 20:37
I agree.  I'm converting my pages over from the ToolkitScriptManager and ever since my pages have been acting like they have an anchor attached to them.  Very slow and when I click on the page I get a warning that a  the page is unresponsive due to a long running script.  I'm thinking about switching back.  Very disappointing.