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

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public RegisterFormSectionAttribute(
	string identifier,
	string name,
	string customViewName = null
)

Parameters

identifier
Type: SystemString
Unique identifier of the form section definition.
name
Type: SystemString
Name of the registered form section.
customViewName (Optional)
Type: SystemString
Custom view name for the registered form section. If not specified, the default system view name in format '~/Shared/Sections/_{identifier}' is used.
Remarks

Make sure to provide unique identifier for the section 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_SectionName', e.g. 'Kentico_Content.SingleColumn'.

Use this attribute when simple section is being developed and no custom controller is needed.

See Also