Join our community!

Get everything you need to start developing EPiServer solutions.

Anders Hattestad´s Blog Posts

  • Anders Hattestad

    EPiServer 7 and MVC Views using Tags

    The pattern I use for utilize the MVC framework and EPiServer blocks is based on inheritance and the use of tags. I have one Default block controller that handles all the blocks. If a BlockTypeA that inherits from BlockData with tag=”Col4” if will...

    By: Anders Hattestad

    Posted: 18 Mar 2014
    Comments 1
    Views: 276
    Rating:
  • Anders Hattestad

    Query content of inherit type or those that implements an interface

    Sometimes when I do import jobs, I check if a content type have a specific property. If a page exists I update it, and if not I create a new. Other times I want to find some pages that inherits form a basepage type and get those pages that have so...

    By: Anders Hattestad

    Posted: 18 Feb 2014
    Comments 0
    Views: 306
    Rating:
  • Anders Hattestad

    How to get html from a view and change the content in MVC

    There are times you want to manipulate the html after it has created to change image references, or change the links outputted to friendly URL’s. Here is a trick how to get the content out of a view in MVC and use the HtmlAgilityPack to change the...

    By: Anders Hattestad

    Posted: 11 Feb 2014
    Comments 2
    Views: 350
    Rating:
  • Anders Hattestad

    It’s too good damn hard

    I’m struggling to make more advanced properties but I keep hitting my head against a wall. I have downloaded the source code for the dojo javascript stuff, but as far as I have seen I need to copy a lot to make my necessary modifications.  I tried...

    By: Anders Hattestad

    Posted: 24 Jan 2014
    Comments 3
    Views: 516
    Rating:
  • Anders Hattestad

    Error: Deadlock risk detected…..

    I got this error “Deadlock risk detected.Trying to read a page from the same thread that is already trying to read the same page”  and want to share with you what was my problem. I can seems that when you first access a page data, and if that page...

    By: Anders Hattestad

    Posted: 13 Jan 2014
    Comments 0
    Views: 394
    Rating:

About the blogger

Anders Hattestad
Itera Norge AS
Esteemed Citizen

I’m a developer and part of the Itera EPiServer team. Have worked with Content management systems for a decade, and EPiServer the last 5-6 year.

Syndication and Sharing