Table of Contents

Method GetErrors

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetErrors()

Gets the validation errors.

public virtual IEnumerable<string> GetErrors()

Returns

IEnumerable<string>

The validation errors.

GetErrors(string?)

Gets the validation errors for this control and its child controls.

public override IEnumerable GetErrors(string? propertyName)

Parameters

propertyName string

The name of the property to retrieve validation errors for; or null or Empty, to retrieve entity-level errors.

Returns

IEnumerable

The validation errors for this control and its child controls.