Table of Contents

Class ValidationRuleClientProperties

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

Defines client properties which are common to all validation rules.

public abstract class ValidationRuleClientProperties
Inheritance
object
ValidationRuleClientProperties
Derived
Extension Methods

Properties

ErrorMessage

Gets or sets the validation error message to be rendered as a result of server-side validation.

public string ErrorMessage { get; set; }

Property Value

string

Remarks

The system populates this property after validation is triggered.

IsValid

Gets or sets the value indicating whether server-side validation passed. The default value is true.

public bool IsValid { get; set; }

Property Value

bool

Remarks

The system populates this property after validation is triggered.

RuleName

Gets or sets the name of the client rule.

public string RuleName { get; }

Property Value

string