FileManager raises server-side before and after events for each file action. Event handlers are attached in code rather than markup.
Before events:
- Expanding
- Listing
- Creating
- Deleting
- Renaming
- Copying
- Moving
- Compressing
- Extracting
- Uploading
- Downloading
- Previewing
It's possible to stop a file action (and optionally display a message) by canceling the corresponding before event.
After events:
- Expanded
- Listed
- Created
- Deleted
- Renamed
- Copied
- Moved
- Compressed
- Extracted
- Uploaded
- Downloaded
- Previewed
- Failed
After events can be used to save information about a completed file action.
For instance, the information can be logged or sent via email.