November Happy Hour will be moved to Thursday December 5th.

Class CustomPageLink

Page option that makes it possible to load a page with a different template than the standard template for the page type. This is done by setting the query string "custompageid" to the page id that you want to load.

Inheritance
System.Object
CustomPageLink
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
[PagePlugIn("CustomPageLink", "Support for loading a different template than the standard template for the page type.")]
public class CustomPageLink

Constructors

Declaration
public CustomPageLink()

Properties

Flag value to determine if this plug in should be enabled.

Declaration
public static int OptionFlag { get; }
Property Value
Type Description
System.Int32

Methods

Method called at system startup to initialize this plug in.

Declaration
public static void Initialize(int optionFlag)
Parameters
Type Name Description
System.Int32 optionFlag

The option flag value assigned to this plug in.

Using the plugin attribute [PagePlugIn] requires the class to contain a static void method named "Initialize" which will be called to attach to suitable event handlers.

Extension Methods