Archive of 2009 August
-
Add class attribute to body element with ASP.NET web forms and Master Pages
Posted on August 27, 2009 by Frederik Vig in ASP.NET, Code SnippetOften I have to add a class to the HTML body element. This is a little code snippet that allows you to easily do this...
Continue reading this entry → -
EPiServer web controls: MenuList and PageTree
Posted on August 16, 2009 by Frederik Vig in EPiServerBoth the MenuList and PageTree control are controls that you'll come across when building the navigation for your EPiServer site. Usually you'll start out with the MenuList for the main navigation, and use the PageTree for the sub...
Continue reading this entry → -
Adding CSS and JavaScript files dynamically to your ASP.NET page
Posted on August 15, 2009 by Frederik Vig in ASP.NET, C#When starting a new project I always create a Master Page that holds the content that is most used across the site. In my Master Page I have a PlaceHolder for my JavaScript files at the bottom of...
Continue reading this entry →