I have a code-behind User Control (myUserControl.ascx and myUserControl.ascx.cs) that are in
ControlTemplates/MyFolder/
and, in the code of myUserControl.ascx I need to use some javascript functions that are in a file myJavascript.js that is in
ControlTemplates/MyFolder/_scripts/
and I'm trying to import using this:
<script type="text/javascript" language="javascript" src="_scripts/myJavascript.js"></script>
but this way I get a 404 not found exception. How can import this javascript to use in the myUserControl.ascx?