Skip to main content
Version: 4.1

DataRepeaterDataErrorEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the DataError event.

public class DataRepeaterDataErrorEventArgs : EventArgs

Constructors​

Instance member DataRepeaterDataErrorEventArgs(item, control, property, ex)​

Initializes a new instance of the DataRepeaterDataErrorEventArgs class.

NameTypeDescription
itemDataRepeaterItemThe DataRepeaterItem on which the error occurred.
controlControlThe Control on the DataRepeaterItem on which the error occurred.
propertyStringThe property on which the error occurred. For most controls, this will be the Text property.
exExceptionThe exception object.

Throws:

Properties​

Instance member Control​

Control: Gets the Control that raised the data error.

Value: The Control that raised the error.

Instance member DataRepeaterItem​

DataRepeaterItem: Gets the DataRepeaterItem that raised the data error.

Value: The item that contains the control in which the error occurred.

Instance member Exception​

Exception: Gets the Exception that represents the error.

Value: The exception object that represents the error.

Instance member PropertyName​

String: Gets the name of the property of the control that raised the error.

Value: The name of the property.

Instance member ThrowException​

Boolean: Gets or sets a value that indicates whether to throw an exception after code execution exits the DataError event handler.

Value: true if the exception is thrown; otherwise, false. The default is false.

Used By​

NameDescription
DataRepeaterDataErrorEventHandlerRepresents the method that will handle the DataError event.