Try our conversational search powered by Generative AI!

Class XmlNameValidator

A validator control that checks that the validated controls value conforms with naming rules for av XML identifier.

Inheritance
System.Object
XmlNameValidator
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class XmlNameValidator : CustomValidator
Remarks

Since a lot of the names used by EPiServer needs to be mapped to XML files (for example to support the translation functions) the names needs to be compatible with XML naming rules.

Constructors

XmlNameValidator()

Initializes a new instance of the XmlNameValidator class.

Declaration
public XmlNameValidator()

Properties

DisplayName

Gets or sets the display name.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
System.String

The display name.

Extension Methods