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.
- C#
- VB.NET
public interface IErrorProvider
Public Interface IErrorProvider
Methods
GetError(control)
Returns the current error description string for the specified control.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The item to get the error description string for. |
Returns: String. The error description string for the specified control.
SetError(control, value)
Sets the error description string for the specified control.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The control to set the error description string for. |
| value | String | The error description string, or null or Empty to remove the error. |
Implemented By
| Name | Description |
|---|---|
| Label | Represents a label control. |
| LinkLabel | Represents an hyper-link control. |
| ErrorProvider | Provides a user interface for indicating that a control on a form has an error associated with it. |