TemplateRedirectionPage Class
TOC
Collapse the table of content
Expand the table of content

TemplateRedirectionPage Class

Represents the page class used for all Publishing pages that use the page layout rendering model.

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        Microsoft.SharePoint.WebPartPages.WebPartPage
          Microsoft.SharePoint.Publishing.PublishingCachablePage
            Microsoft.SharePoint.Publishing.TemplateRedirectionPage

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class TemplateRedirectionPage : PublishingCachablePage, 
	IHttpHandler

This class examines the page layout of the current item and transfers execution to the page layout. This page class is used as base page class for all publishing pages that use a page layout. We recommend that you use this page class directly instead of authoring a publishing page. Authors should use the Create Page user interface (UI) to create publishing pages. Developers should use the Add() methods to create a new page through the object model.This class can be used only in a page inside a document library and the page must have a valid ContentTypeId.PageLayout field.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2016 Microsoft