Blog entries posted during 2008

Page events, what events are registered

by: Anders Hattestad

When you make some code based on events it's easy to lose control on what events are registered where. I therefore made my self a small report to inspect the different page events and to show me the registered events for each of them. The differen... [ Read full article ]

19 December 2008  8 Comments


Properties to a Property - the solution?

by: Anders Hattestad

EPiServer has a lot of cool features, but I have been missing is the possibility to have global settings. Many times when we make some generic components we need some kind of configuration to reuse them. Examples on what I mean is 1) a... [ Read full article ]

05 December 2008  5 Comments


Dynamic Content base class

by: Anders Hattestad

Have made myself a base class which implements the dynamic content interface and have some functions to save and retrive the state based on what properties are in the PropertyDataCollection. Its pretty straight forward but thought I was going to... [ Read full article ]

01 December 2008  4 Comments


Please dev's, you are making a framework. Don't use private/internal

by: Anders Hattestad

I admit it. I'm addicted to Reflector. I browse around a lot inside the EPiServer dll's. If you have there is a lot of cool and useful code inside the EPiServer dll's. Many places there are hidden pearls where a developer can extend the existing... [ Read full article ]

23 November 2008  15 Comments


<EPiServer:Property on steroids />

by: Anders Hattestad

How many times have any of you created a function that checks two or more properties and return the first one that is not null or blank. Or even if one property is true, then display another property. And have you ever made a static function that... [ Read full article ]

06 November 2008  10 Comments


User control as a Property

by: Anders Hattestad

After I did the selector for master pages I thought about how this could be applied to other areas in EPiServer. One thing with EPiServer I don’t like is that you have a lot of page types with only one purpose and often used only one time. So if I... [ Read full article ]

24 October 2008  13 Comments

Tags:


How to use Attributtes to dynamically let editors change MasterPage on your EPiServer-site

by: Anders Hattestad

I like to dynamically add and remove features from my EPiServer sites.  When i make some new features i try to make them not strict to know implementions, and are using Attributtes as a way to retrive future implementions. Yesterday i needed to ge... [ Read full article ]

23 October 2008  1 Comments


Properties in CMS 5

by: Anders Hattestad

Problem: How to create a EPiServer property which contains other EpiServer properties. Why: Most properties in EPiServer are pretty specialized and are often depended on each other to make the page show correctly. some uses of a MultiProperty  are... [ Read full article ]

20 October 2008  35 Comments

EPiTrace logger