Error!
Success!

Including External JavaScript and Stylesheets in a .NET Page

0
kicks

Including External JavaScript and Stylesheets in a .NET Page  (Unpublished)

I’ve seen several ASP.NET developers architect their web apps so that the only way they can include page-specific CSS or JavaScript is via the code-behind file. That is a bad method because you generally want to keep as much display logic in the aspx as possible. It is actually very easy to structure your master page to allow page-specific CSS/JavaScript. You’ll kick yourself when you see this.


Kicked By:
Drop Kicked By: