London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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.dll
Version: 10.10.4
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