Blog entries tagged with EPiServer CMS 5

  • Accessing CurrentPage from a static context

    Ever needed access to the CurrentPage object inside a static method or property? As long as you have a valid HttpContext this code will do the trick PageBase pageBase = HttpContext .Current.Handler as PageBase ; string pageName = pageBase.CurrentP... 2

About the blogger

Mari Jørgensen


GETA AS
Esteemed Citizen

Syndication and Sharing