Allows you to process an uploaded audio file before it is saved to the server.
public event FileSavingEventHandler AudioFileSaving
Public Event AudioFileSaving As FileSavingEventHandler
The AudioFileSaving event handler receives an argument of the FileSavingEventArgs type. The following properties provide information specific to this event.
|CallbackData||Obsolete. This property is not in effect for the FileSavingEventArgs class.|
|Cancel||Indicates if the action which raised the event should be canceled.|
|ErrorText||Gets or sets the error text.|
|FileName||Gets or sets the name of the uploaded file.|
|IsValid||Gets or sets a value specifying whether the uploaded file passes validation.|
|OutputStream||Set this property to change the original file content.|
|SavedFileUrl||Gets or sets the URL of the saved file.|
|UploadedFile||Gets the uploaded file object related to the event.|
ASPxHtmlEditor provides you with a capability to process an uploaded file before it is saved to the server. You can process image, audio, video, and flash files by handling the corresponding events.
Use the AudioFileSaving event to process an audio file before it is saved to the server.