Posts Tagged ‘ASP.NET’

ASP.NET: Programmatically adding <script> tags to include JavaScript files in the master page’s <head> tag

One common task of ASP.NET master pages is the definition of the page’s <head> tag, which could include <script> tags to include external JavaScript files>. If you do not use absolute paths to refer to the JavaScript file, adding a <script> leads to the problem, that the path to the JavaScript file has to consider […]

Read more…