How to access the master page of a Portal Page template in Kentico CMS

Michael Roma on Oct 15, 2013

This post shows you how to access the actual master page for a Kentico Portal template. It allows you to edit the HTML tag and other areas that are not accessible from within the Kentico user interface.

The ASPX file can be found inside the website project:
~
\CMSPages\PortalTemplate.aspx

Below is the example content from Kentico v7:

<%@ Page Language=“C#” AutoEventWireup=“true” Inherits=“CMSPages_PortalTemplate”
    ValidateRequest=“false” MaintainScrollPositionOnPostback=“true” EnableEventValidation=“false”
    CodeFile=“PortalTemplate.aspx.cs” %>

<%=DocType%>
>

    My site
    


    
        
        
        
    /asp:PlaceHolder