Skip to main content
Version: 3.5

IErrorProvider

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Exposes a common api implemented by components that can collect errors in relation to a Control.

public interface IErrorProvider

Methods

Instance memberGetError(control)

Returns the current error description string for the specified control.

ParameterTypeDescription
controlControlThe item to get the error description string for.

Returns: String. The error description string for the specified control.

Instance memberSetError(control, value)

Sets the error description string for the specified control.

ParameterTypeDescription
controlControlThe control to set the error description string for.
valueStringThe error description string, or null or Empty to remove the error.

Implemented By

NameDescription
LabelRepresents a label control.
LinkLabelRepresents an hyper-link control.
ErrorProviderProvides a user interface for indicating that a control on a form has an error associated with it.