Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

FileExplorer.FileUploaded Event

Occurs when user has uploaded a new file to the server.

[Visual Basic]
Public Event FileUploaded As FileExplorerEventHandler
[C#]
public event FileExplorerEventHandler FileUploaded;

Event Data

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

Property Description
FileName Gets the full file name.
NewFileName Gets the new file name for FileRenamed or FolderRenamed event.

Remarks

It is often desired to rename user uploaded files following a specific pattern. For example, some design requires a date string to be prefixed to the file name, other requires the currently logged-in user name as part of the file name. Use this event to implement such naming schemes by renaming each files immediately after they are uploaded.

See Also

FileExplorer Class | EO.Web Namespace


Direct link to this topic