Click or drag to resize
RegisterPageTemplateAttribute Constructor (String, Type, String)
Creates an instance of the RegisterPageTemplateAttribute class.

Namespace: Kentico.PageBuilder.Web.Mvc.PageTemplates
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public RegisterPageTemplateAttribute(
	string identifier,
	Type controllerType,
	string name
)

Parameters

identifier
Type: SystemString
Unique identifier of the page template definition.
controllerType
Type: SystemType
Type of the page template controller to register.
name
Type: SystemString
Name of the registered page template.
Remarks
Make sure to provide unique identifier for the page template definition from the start. This identifier is used within the page configuration and any further change can lead to incorrect configuration load. Consider specifying identifier in format 'CompanyName.ModuleName.PageTemplateName', e.g. 'Kentico.Content.LandingPageTemplate'.
See Also