onBeforeUpload |
This event is fired before the upload request is sent.
Syntax
Inline HTML | <div cordysType="wcp.library.util.Upload" onBeforeUpload="handler" /> |
Event Property | object.onBeforeUpload = handler |
Event Information
To invoke | Call theuploadfileoperation on the object. |
Default Action | Initiates any action associated with this event. |
Named Script | onBeforeUpload |
Event Object Properties
An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.
Property | Description |
---|---|
srcElement | Object that denotes the Upload control. All properties of the object are available for update. |
returnValue | Boolean that denotes whether the upload operation can be continued or not. To cancel the event, you can set the value of this property to false. |
true | Default. Upload operation must be continued. |
false | Upload operation must not be continued. |