Check if a javascript file is already loaded on a page

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-06-17T22:04:44Z Indexed on 2010/06/17 23:23 UTC
Read the original article Hit count: 204

How to check in C# if a javascript file is already loaded on to the page? Let's say I have a user control in a different namespace that I load on to a page. I would like to see if a script file doesn't exist before I register it with the scriptmanager.

© Stack Overflow or respective owner

Related posts about c#

Related posts about JavaScript