Archive of 2009 June
-
EPiServer filter – part 2: create your own filter
Posted on June 28, 2009 by Frederik Vig in Code Snippet, EPiServerIf you haven't, be sure to check out EPiServer filter - part 1. In one of my project I had a bunch of categories and needed to filter a PageDataCollection to find pages that had one or more of...
Continue reading this entry → -
Using multiple forms on an ASP.NET web forms page
Posted on June 21, 2009 by Frederik Vig in ASP.NETI came across this simple technique while watching Building great standards based websites for the big wide world with ASP.NET 4.0. The cool thing about being able to have multiple forms on the same page is that you don't have...
Continue reading this entry → -
EPiServer Extension Methods part 2
Posted on June 16, 2009 by Frederik Vig in EPiServerEPiServer Extension Methods part 1 From LinkItemCollection to PageDataCollection public static PageDataCollection ToPageDataCollection(this LinkItemCollection linkItemCollection) { var pageDataCollection = new PageDataCollection(); foreach (var linkItem in linkItemCollection) { var url = new UrlBuilder(linkItem.Href); bool isEPiServerPage =...
Continue reading this entry →