# UploadingEventHandler

Namespace: **Wisej.Web**

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

Represents the method that will handle the [Uploading](https://docs.wisej.com/api/wisej.web/content/upload/..#uploading) event of a [Upload](https://docs.wisej.com/api/wisej.web/content/upload) control.

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

```csharp
public delegate void UploadingEventHandler(Object sender, UploadingEventArgs e)
```

{% endtab %}

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

```visual-basic
Public Delegate Sub UploadingEventHandler(ByVal sender As [Object], ByVal e As UploadingEventArgs)
```

{% endtab %}
{% endtabs %}

## Parameters

| Name       | Type                                                                                                   | Description                                                                                                                            |
| ---------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| **sender** | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                          | The source of the event.                                                                                                               |
| **e**      | [UploadingEventArgs](https://docs.wisej.com/api/wisej.web/content/upload/wisej.web.uploadingeventargs) | A [UploadingEventArgs](https://docs.wisej.com/api/wisej.web/content/upload/wisej.web.uploadingeventargs) that contains the event data. |

## Fired By

| Name                                                                                 | Description                                                                                                               |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| [Upload.Uploading](https://docs.wisej.com/api/wisej.web/content/upload/..#uploading) | Fired before the [Upload](https://docs.wisej.com/api/wisej.web/content/upload) control received the files being uploaded. |
