programmatically add stylesheet and javascript references to asp.net masterpage -


I am using lightbox but I only want to put the context of the stylesheet and javascript files in a masterpace header on one page How do I programmatically add stylesheets and javascript files to page loads (page using Lightbox) in page load?

The stylesheet is the 'css' folder and three javascript files are a 'js' folder

< P> Try ...
  Page.ClientScript.RegisterClientScriptInclude ("JScripts", ResolveUrl ("~ /js/JScripts.js"));    

Comments