Hello,
I have a situation where I'm registering scripts with the script manager. I'm wondering if there is a check to see if the script is already registered in the manager before adding it.
I'm using a single page design model and what is happening is scripts are being added to the page more than once.
I'm looking for a property of the script manager or ajax manager to be something like IsScriptSet or even some functionality to simple check to ensure scripts are already added and if so, don't add again, just ignore the registration with the script manager.
The big issue, to clarify, is that my page is getting bloated with duplicate scripts being registered when users interact with my single page interface to my website. Please Help me stop the bloat!! :) Getting away from the single page design is not an option, it's in stone at the moment, so we need a check.
I appreciate any advice or feedback. Thanks very much.
I have a situation where I'm registering scripts with the script manager. I'm wondering if there is a check to see if the script is already registered in the manager before adding it.
I'm using a single page design model and what is happening is scripts are being added to the page more than once.
I'm looking for a property of the script manager or ajax manager to be something like IsScriptSet or even some functionality to simple check to ensure scripts are already added and if so, don't add again, just ignore the registration with the script manager.
The big issue, to clarify, is that my page is getting bloated with duplicate scripts being registered when users interact with my single page interface to my website. Please Help me stop the bloat!! :) Getting away from the single page design is not an option, it's in stone at the moment, so we need a check.
I appreciate any advice or feedback. Thanks very much.