Friendly URL instead of querystring in EPiServer

I have previously posted a fairly lengthy example on how to implement a friendly URL rewriter in EPiServer . This post does almost the same thing, but I believe this example is a bit more pedagogic... [ Read full article ]

01 July 2009  4 Comments


EPiServer and ASP.NET AJAX

Script error after ASP.NET AJAX postback in EPiServer I had two seemingly identical EPiServer websites, each running EPiServer CMS 5 R2 SP1. However, on one of the websites a peculiar script error... [ Read full article ]

29 June 2009  2 Comments


Property is contained in a page/control/template that does not have a current page

I recently came across a website for a hospital and noticed an error message that seemed familiar: The error message states: [Error: Property is contained in a page/control/template that does not... [ Read full article ]

19 June 2009  0 Comments


Javascript errors in EPiServer edit and admin mode

Problem description Javscript errors in the EPiServer UI can produce pretty discrete anomalies, depending on your browser debug settings. For example, the EPiServer admin mode may appear to be... [ Read full article ]

13 June 2009  0 Comments


Managing e-mail subscriptions in EPiServer

Background E-mail subscription in EPiServer CMS 5 is based on ASP.NET profiles. Starting and stopping subscriptions through code is easy, but I was missing a plugin where administrators could easil... [ Read full article ]

14 April 2009  1 Comments


A new EPiServer page link control

This post describes how to implement a basic server control which extends the HyperLink control to allow for easy linking to EPiServer pages. Being able to specify the inner text and title of an... [ Read full article ]

06 April 2009  8 Comments


Implement a stock quote ticker using Silverlight (part 1/3)

Goal of the implementation In this series of posts I’ll walk you through implementing a Silverlight control for displaying a share ticker on an EPiServer website using dynamic content: Prerequisite... [ Read full article ]

30 March 2009  2 Comments


Implement a stock quote ticker using Silverlight (part 2/3)

This is the second post in a series demonstrating how to retrieve stock quotes from a web service, present them using Microsoft Silverlight, and finally enable EPiServer editors to insert such stoc... [ Read full article ]

30 March 2009  0 Comments


Implement a stock quote ticker using Silverlight (part 3/3)

This is the final post in a series demonstrating how to retrieve stock quotes from a web service, present them using Microsoft Silverlight, and finally enable EPiServer editors to insert such stock... [ Read full article ]

30 March 2009  2 Comments


Integrating help documentation for editors in EPiServer

Background Have you ever delivered documentation, manuals or user guides to a customer in the form of PDF, Word documents or similar in the past? Unless you just “dare say no to documentation”, my... [ Read full article ]

15 March 2009  5 Comments


Adding a custom plugin button to unpublish a page in EPiServer

I was recently in a discussion where the topic of unpublishing pages in EPiServer came up. Fredrik Haglund mentioned that some customers want to have an “ Unpublish ” button, and I agree. Some... [ Read full article ]

12 February 2009  10 Comments


EPiServer Day is coming up!

EPiServer Day, March 10–11, 2009 About one month remains until this year’s EPiServer Day , and it seems it’ll be two jam-packed days full of interesting sessions and keynotes held by both EPiServer... [ Read full article ]

05 February 2009  0 Comments


Check if a dynamic property has been specified on the current page

Dynamic properties versus page properties As you probably know, dynamic properties are like page properties in many ways, except they do not need to be set specifically on a per-page basis. Dynamic... [ Read full article ]

03 February 2009  7 Comments


Customize the search experience with Search Server 2008

I recently posted an article on how to use Search Server 2008 for local searches on a website or intranet . In this post I’ll focus on the search query XML schema used by Search Server 2008 and how... [ Read full article ]

23 January 2009  2 Comments


Using EPiServer and Microsoft Search Server 2008

Introduction Microsoft Search Server 2008 is a stand-alone search server built upon the search technology originally developed for Microsoft Office Sharepoint Server , or MOSS for short. However,... [ Read full article ]

20 January 2009  12 Comments


Adding multiple links using the Link Collection property in EPiServer

Background The LinkItemCollection class was a truly appreciated addition when EPiServer CMS 5 R2 was released. Part of the EPiServer.SpecializedProperties namespace the LinkItemCollection class is ... [ Read full article ]

12 December 2008  7 Comments


EPiServer CMS 5 R2 gives 'Sys' is undefined on IIS7

Yet another troubleshooting tip for the dreaded 'Sys' is undefined error This post won't reveal any exciting new features, techniques, or patterns. However, if you're troubleshooting some ASP.NET... [ Read full article ]

09 December 2008  8 Comments


Localize page type and page property names in EPiServer

This post shows how to translate page type and property names and descriptions to have them appear in the correct language in the editor interface when globalization is enabled for an EPiServer web... [ Read full article ]

08 September 2008  9 Comments


How to get the internal URL or page reference based on a friendly URL in EPiServer

I have previously described how to get the simple address of a page and how to get the friendly URL of a page in EPiServer . This post explains how to get the PageReference object or internal URL... [ Read full article ]

04 September 2008  5 Comments


How to make virtual path providers work with precompiled EPiServer websites

Note: This is an experimental workaround. It is not supported by EPiServer nor Microsoft. Introduction Earlier I wrote a post on how you can Precompile your web site to publish it without source co... [ Read full article ]

03 September 2008  2 Comments


Precompile your website and publish it without source code or markup

IMPORTANT: This approach won't work with EPiServer CMS 5 unless you implement this experimental workaround EPiServer CMS 5 uses virtual path providers which aren't supported by the .NET framework f... [ Read full article ]

02 September 2008  4 Comments


Using web parts in EPiServer

As Stein Viggo points out in his EPiServer on Steroids post, traditional page type templates can limit editor creativity. Having editors enter values for page properties and placing these values... [ Read full article ]

26 August 2008  11 Comments


Run a scheduled job as a specific EPiServer user

As noted in my post about how to Create a custom scheduled job in EPiServer all scheduled runs will execute as an anonymous user whereas jobs that are executed manually are run as the current... [ Read full article ]

18 August 2008  3 Comments


How to get the simple address of a page in EPiServer

The following code snippet shows how to retrieve the simple address of an EPiServer page. If you want to retrieve the friendly URL of an EPiServer page instead, please see my post on How to get the... [ Read full article ]

15 August 2008  2 Comments


Create a custom scheduled job in EPiServer

This post explains how to create a scheduled job in EPiServer CMS. Introduction A scheduled job in EPiServer is essentially a piece of code that will be executed repeatedly at a given time interval... [ Read full article ]

08 August 2008  2 Comments


Implementing a custom URL rewrite provider for EPiServer

Introduction I'm a firm believer in avoiding querystring parameters in URLs, especially for public web sites. Security, SEO and esthetics are a few reasons why. Custom URL rewriting can help you... [ Read full article ]

24 July 2008  4 Comments


When the edit interface works but all pages return 404

This is just a friendly reminder about what to do when all EPiServer pages return a plain 404 File not found, but the edit and admin interfaces work perfectly well. You may even notice that the sit... [ Read full article ]

30 June 2008  0 Comments


Using a single domain strategy with multiple languages in EPiServer

Introduction This post covers one way of enforcing a domain strategy for multi-language (or multi-division) sites. There are two common scenarios for multi-language site domain strategies: Use one... [ Read full article ]

04 April 2008  4 Comments


Using LINQ and EPiServer

Just as a brief proof of concept I decided to use a LINQ statement to retrieve and sort a list of EPiServer pages. If you haven't yet come across LINQ I would recommend Scott Guthrie's post on usin... [ Read full article ]

10 March 2008  78 Comments


Modify and publish a page programmatically

Inspired by Marek's post on modifying existing pages I  decided to complement my post on programmatically publishing new pages with a post on how to modify and publish existing pages in EPiServer. ... [ Read full article ]

06 March 2008  5 Comments


Create and publish a page programmatically

This post explains in detail how to programmatically create a page in EPiServer CMS 5. It also shows how to publish a page through code, even when the current user lacks the necessary permissions. ... [ Read full article ]

05 March 2008  10 Comments


Search by language branch in EPiServer

This post is a complement to my previous post about searching pages with EPiServer . I have gotten a few questions about how to limit a page search to include pages from a specific language branch.... [ Read full article ]

02 March 2008  4 Comments


Search for EPiServer pages based on properties

This post aims to clearly illustrate a way of searching for EPiServer pages based on property values. By specifying search criteria and a place to start the search you'll get a PageDataCollection... [ Read full article ]

26 February 2008  12 Comments


Check to see if a page exists for a specific language branch

Have you ever wanted to know if a specific EPiServer page exists for a specific language? I recently came across an implementation that looked something like this: try { DataFactory.Instance.GetPag... [ Read full article ]

11 February 2008  2 Comments


Programmatically configure customErrors redirects

I previously posted a possible solution for handling 404 exceptions in EPiServer websites, but here's an alternative and possibly more elegant way of configuring custom error redirects for EPiServe... [ Read full article ]

09 February 2008  7 Comments


How to get the friendly URL of a page in EPiServer CMS

Maybe there are other posts about this, but I thought I'd share an easy way of getting the friendly URL of a page since I've gotten questions about it on numerous occasions: public static string... [ Read full article ]

07 February 2008  9 Comments


Handle 404 exceptions in EPiServer CMS

As many of you know, there is a comprehensive 404 handler available for download through EPiCode. However, I just wanted a simple way of specifying a PageID and have that page act as a 404 response... [ Read full article ]

07 February 2008  9 Comments


If you're getting full postbacks with ASP.NET AJAX and EPiServer 4.62

After having 1) referenced System.Web.Extensions and 2) added all the necessary entries to web.config, we still got full postbacks when submitting through an UpdatePanel in an EPiServer 4.62 websit... [ Read full article ]

07 February 2008  1 Comments


Use EPiServer Manager when upgrading to CMS 5 SP1

...or read this once you've ignored that piece of advice Eager to update to EPiServer CMS SP1 I got a bit careless. I finished my development locally, published and tested it on our staging server... [ Read full article ]

06 February 2008  3 Comments


Disable URL rewriting for specific URLs

There comes a time when you need to prohibit URL rewriting for specific URLs within your EPiServer CMS website. For example, I've implemented an ashx handler that is used to deliver vCard files on... [ Read full article ]

17 January 2008  11 Comments


Status property always returns VersionStatus.Published

I ran into some interesting anomalies involving "Access denied" when trying to fetch published pages using the GetChildren() method. I tried to determine whether or not a page was published by... [ Read full article ]

10 January 2008  2 Comments


Unable to send e-mail without local SMTP server

When you try to send e-mail through an external SMTP server using the System.Net.Mail namespace classes, you may encounter an error saying " Cannot get IIS pickup directory". Often this has to do... [ Read full article ]

12 December 2007  3 Comments


Ted Nyberg (Hallvarsson & Halvarsson)

About me

I'm a consultant at Hallvarsson & Halvarsson where I try to find (or come up with) ways to improve corporate communications online.

I occassionally post some notes on this .NET blog, and you'll find my contact details here.

Hallvarsson & Halvarsson logo

EMVP, EPiServer Most Valued Professional

MCPD, MCTS and MCP logos

Follow me on Twitter

Bloggtoppen.se

Add to Technorati Favorites


Syndications


Archive


Tag cloud

EPiTrace logger