Version

FileUploading Event

The FileUploading event is raised when a chunk of uploading file is posted to the server - raised only when FileSaveType is memorystream
Syntax
'Declaration
 
Public Event FileUploading As EventHandler(Of FileUploadingEventArgs)
public event EventHandler<FileUploadingEventArgs> FileUploading
Event Data

The event handler receives an argument of type FileUploadingEventArgs containing data related to this event. The following FileUploadingEventArgs 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) 
FileChunk Get file chunk of the uploaded file
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
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