DataRepeaterDataErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides data for the DataError event.
- C#
- VB.NET
public class DataRepeaterDataErrorEventArgs : EventArgs
Public Class DataRepeaterDataErrorEventArgs
Inherits EventArgs
Constructors
DataRepeaterDataErrorEventArgs(item, control, property, ex)
Initializes a new instance of the DataRepeaterDataErrorEventArgs class.
| Name | Type | Description |
|---|---|---|
| item | DataRepeaterItem | The DataRepeaterItem on which the error occurred. |
| control | Control | The Control on the DataRepeaterItem on which the error occurred. |
| property | String | The property on which the error occurred. For most controls, this will be the Text property. |
| ex | Exception | The exception object. |
Throws:
- ArgumentNullException ex is null.
Properties
Control
Control: Gets the Control that raised the data error.
DataRepeaterItem
DataRepeaterItem: Gets the DataRepeaterItem that raised the data error.
Exception
Exception: Gets the Exception that represents the error.
PropertyName
String: Gets the name of the property of the control that raised the error.
ThrowException
Boolean: Gets or sets a value that indicates whether to throw an exception after code execution exits the DataError event handler.
Used By
| Name | Description |
|---|---|
| DataRepeaterDataErrorEventHandler | Represents the method that will handle the DataError event. |