ErrorProvider

From Visual WebGui Wiki

Jump to: navigation, search


Contents

Overview

The ErrorProvider control is functionally equivialent to the Windows Forms ErrorProvider control. It provides a very simple means of notifying the user about errors on their forms, by showing an error icon with a tooltip.

The ErrorProvider can be used in three flavors, so to speak:

  • One ErrorProvider control on the whole form
  • One ErrorProvider control for each control on the form
  • Watching for errors on a Datasource implementing the IList interface

The ErrorProvider does not come with any UI component itself, so you do not add the control to the Form's Controls container.

Availability

The ErrorProvicer is one of the Out of the Box standard controls, which means it is free and available in all Visual WebGui versions.

Relevant members

Properties

Name
Description
Icon
The icon used to indicate an error
BlinkRate The rate in milliseconds at which the error icon blinks
BlinkStyle Controls whether the error icon blinks when error is set. Possible values BlinkIfDifferentError, AlwaysBlink, NeverBlink
DataSource
A data source based on the IList interface to be monitored for errors. Typically, this is a DataSet to be monitored for errors.
DataMember
The list within the DataSource to monitor


Methods

Name Description
SetError
Sets the error description string for the specified control
GetError
Returns the current error description string for the specified control


Samples of use

Rererences

Videos

Forum discussons

Issues

Other references


Personal tools