locked
scriptmanager vs toolkitscriptmanagaer RRS feed

  • Question

  • User-1112034352 posted

    deleted - best way to find out if these work was to experiment with master pages that included either one.

    Monday, May 12, 2014 5:28 PM

Answers

  • User2075212911 posted

    Hi,

    Basically the main feature of the ToolkitScriptManager is that it can combine js resource added to page using ScriptReference collection.

    These js files should be embedded to assembly and for this Assembly ScriptCombine assembly attribute should be added.

    The main problem here is that you can't control how scripts are combined and after you will try to combine your own scripts you can have a lot of

    problems (I had experience using this feature and as a result we rejected combining of our scripts using this approach).

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 14, 2014 10:02 AM
  • User555306248 posted

    Both the script manager differ in the way they render the javascript behaviour files to the client side. ToolkitScriptManager uses a technique called script combining to download the scripts and improves the performance.


    for further information read this
    http://blogs.msdn.com/b/delay/archive/2007/06/11/script-combining-made-easy-overview-of-the-ajax-control-toolkit-s-toolkitscriptmanager.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 14, 2014 11:50 PM

All replies

  • User2075212911 posted

    Hi,

    Basically the main feature of the ToolkitScriptManager is that it can combine js resource added to page using ScriptReference collection.

    These js files should be embedded to assembly and for this Assembly ScriptCombine assembly attribute should be added.

    The main problem here is that you can't control how scripts are combined and after you will try to combine your own scripts you can have a lot of

    problems (I had experience using this feature and as a result we rejected combining of our scripts using this approach).

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 14, 2014 10:02 AM
  • User555306248 posted

    Both the script manager differ in the way they render the javascript behaviour files to the client side. ToolkitScriptManager uses a technique called script combining to download the scripts and improves the performance.


    for further information read this
    http://blogs.msdn.com/b/delay/archive/2007/06/11/script-combining-made-easy-overview-of-the-ajax-control-toolkit-s-toolkitscriptmanager.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 14, 2014 11:50 PM