Version

UploadStarting Event

The UploadStarting event is raised when a file is going to begin uploading for this control
Syntax
'Declaration
 
Public Event UploadStarting As EventHandler(Of UploadStartingEventArgs)
public event EventHandler<UploadStartingEventArgs> UploadStarting
Event Data

The event handler receives an argument of type UploadStartingEventArgs containing data related to this event. The following UploadStartingEventArgs properties provide information specific to this event.

PropertyDescription
AdditionalDataFields (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Gets the additional data fields that could be submitted while uploading the file. It returns dictionary which has as a key - the name of the submitted data field and as a value - the value of the data field
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
FileInfo (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Gets the file information.
FileName (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Returns name of the uploading file
FileSize (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Returns size of the uploading file
FileStatus (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Returns status of the uploading file
FileStream Get stream of the uploading file
FolderPath (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Returns folder path of the uploading file where the file is saved
MimeType (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Get MIME Type of the uploading file
ServerMessage (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Set or get server message which is sent to client-side.
TemporaryFileName (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Get temporary file name
UploadedBytes (Inherited from Infragistics.Web.UI.EditorControls.UploadCancellableBaseEventArgs)Get uploaded bytes
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also