A few weeks ago I blogged about a little project that I called Typed Templating. At that time the project contained a single abstract class, TypedPageList intended to be used as a base class for web controls used for listing EPiServer pages. Since then I’ve begun using it in a real project and made some improvements to it.
The most significant new feature is perhaps another class that I’ve added, TypedMenuList. TypedMenuList is similar to EPiServer’s MenuList but just as TypedPageList it offers statically typed access to the PageData objects in the item templates. It also contains the nice templating functionality found in TypedPageList, such as header and footer templates for various types of items making it easy to generate complex markup without having to do nasty things in code behind.
Another new features is that both controls now have a template named EmptyTemplate. The contents of an EmptyTemplate is rendered if the underlying list is empty.
- Sweet EPiServer Templating with TypedPageList
- EPiMVC – A framework for using EPiServer CMS with ASP.NET MVC
- Developing with Page Type Builder – Getting Started
- Introducing EPiMVP – A Framework for using Web Forms MVP with EPiServer CMS
- Automatically organize EPiServer pages - Part 2
- Getting started with EPiServer CMS development
- Creating a Custom EPiServer Property with a Custom Class as Value
- About EPiServer’s view on Page Type Builder