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.
You can grab the latest version, 0.2, here or fork the repository on GitHub.
PS. For updates about new posts, sites I find useful and the occasional rant you can follow me on Twitter. You are also most welcome to subscribe to the RSS-feed.
- 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
Commentscomments powered by Disqus