J
Jonas
Hi,
I've recently found out that I'm supposed to set the debug attribute of the
compilation element in web.config to false in production environments. But
when I do so in my ASP.NET application, I get strange errors. Apparently, a
javascript file that I specify in the vb-code doesn't get called, I and when
I check the source sent to the browser, I can see that the call to the
javascript file is changed so that the filename is prefixed by an
underscore, see first line below. But not all calls are modified, see second
line below.
<script language=javascript src="./WebModules/Scripts/_UsrsDetail.js"
<script language='javascript'
src='./WebModules/Scripts/cmAddress.js'></script>
The name of the script file failing is the same as the ascx-file calling it
(usrsdetail.asxc).
What happens when I change the debug switch??
TIA
Jonas
I've recently found out that I'm supposed to set the debug attribute of the
compilation element in web.config to false in production environments. But
when I do so in my ASP.NET application, I get strange errors. Apparently, a
javascript file that I specify in the vb-code doesn't get called, I and when
I check the source sent to the browser, I can see that the call to the
javascript file is changed so that the filename is prefixed by an
underscore, see first line below. But not all calls are modified, see second
line below.
<script language=javascript src="./WebModules/Scripts/_UsrsDetail.js"
</script>
<script language='javascript'
src='./WebModules/Scripts/cmAddress.js'></script>
The name of the script file failing is the same as the ascx-file calling it
(usrsdetail.asxc).
What happens when I change the debug switch??
TIA
Jonas