0

while using the ASP.Net Ajax Library to load scripts does it check to see if the script is already loaded?

For example, if I have a script block in my aspx page and one in my master page and they both load jquery via the sys.require() method with jquery get loaded twice?

1 Answer 1

1

I've not tried it myself, but it 'should' be intelligent enough to only load once.

Here's a related article: HOW TO Load Required Scripts, esp the last paragraph.

PS: Considering it is smart enough to combine scripts, it should be able to detect duplicates.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.