# DataRepeaterDataErrorEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Provides data for the [DataError](https://docs.wisej.com/api/wisej.web/containers/datarepeater/..#dataerror) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class DataRepeaterDataErrorEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class DataRepeaterDataErrorEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) DataRepeaterDataErrorEventArgs(item, control, property, ex)

Initializes a new instance of the [DataRepeaterDataErrorEventArgs](https://docs.wisej.com/api/wisej.web/containers/datarepeater/wisej.web.datarepeaterdataerroreventargs) class.

| Name         | Type                                                                                                        | Description                                                                                                                                     |
| ------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **item**     | [DataRepeaterItem](https://docs.wisej.com/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) | The [DataRepeaterItem](#datarepeateritem) on which the error occurred.                                                                          |
| **control**  | [Control](https://docs.wisej.com/api/wisej.web/general/control)                                             | The [Control](#control) on the [DataRepeaterItem](#datarepeateritem) on which the error occurred.                                               |
| **property** | [String](https://docs.microsoft.com/dotnet/api/system.string)                                               | The property on which the error occurred. For most controls, this will be the [Text](https://docs.wisej.com/api/general/control#text) property. |
| **ex**       | [Exception](https://docs.microsoft.com/dotnet/api/system.exception)                                         | The exception object.                                                                                                                           |

**Throws:**

* [ArgumentNullException](https://docs.microsoft.com/dotnet/api/system.argumentnullexception) *ex* is null.

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Control

[Control](https://docs.wisej.com/api/wisej.web/general/control): Gets the [Control](#control) that raised the data error.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) DataRepeaterItem

[DataRepeaterItem](https://docs.wisej.com/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem): Gets the [DataRepeaterItem](https://docs.wisej.com/api/wisej.web/containers/datarepeater/wisej.web.datarepeateritem) that raised the data error.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Exception

[Exception](https://docs.microsoft.com/dotnet/api/system.exception): Gets the [Exception](https://docs.microsoft.com/dotnet/api/system.exception) that represents the error.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) PropertyName

[String](https://docs.microsoft.com/dotnet/api/system.string): Gets the name of the property of the control that raised the error.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ThrowException

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Gets or sets a value that indicates whether to throw an exception after code execution exits the [DataError](https://docs.wisej.com/api/wisej.web/containers/datarepeater/..#dataerror) event handler.

## Used By

| Name                                                                                                                                          | Description                                                                                                                              |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| [DataRepeaterDataErrorEventHandler](https://docs.wisej.com/api/wisej.web/containers/datarepeater/wisej.web.datarepeaterdataerroreventhandler) | Represents the method that will handle the [DataError](https://docs.wisej.com/api/wisej.web/containers/datarepeater/..#dataerror) event. |
