FileUploaderClientEventsUploaded Property

Gets or sets the client-side event raised after user uploads a group of files or folders in file uploader. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".

Definition

Namespace: GleamTech.FileUltimate.AspNet.UI
Assembly: GleamTech.FileUltimate (in GleamTech.FileUltimate.dll) Version: 9.2.0
C#
public string Uploaded { get; set; }

Property Value

String

Example

Example function:

JavaScript
function fileUploaderUploaded(sender, e) {
    var fileUploader = sender;

    //Pretty print the event arguments
    var json = JSON.stringify(e, null, 2);

    console.log(json);
}

//SAMPLE OUTPUT:
/*
{
  "eventName": "uploaded",
  "items": [
    {
      "itemType": "File",
      "name": "Spotlight 1.jpg",
      "nameWithoutPath": "Spotlight 1.jpg",
      "extension": "jpg",
      "dateModified": "2015-12-29T10:24:48.512Z",
      "type": "JPG File",
      "size": 1791421,
      "status": "Completed"
    },
    {
      "itemType": "File",
      "name": "New folder\\Screen 1.jpg",
      "nameWithoutPath": "Screen 1.jpg",
      "extension": "jpg",
      "dateModified": "2015-10-30T07:18:39.768Z",
      "type": "JPG File",
      "size": 1557291,
      "status": "Completed"
    }
  ],
  "uploadMethod": "Html5",
  "uploadMethodFeatures": {
    "selectFile": true,
    "selectMultiple": true,
    "selectFolder": true,
    "dragAndDrop": true,
    "displayThumbnails": true,
    "sendAsChunks": true,
    "sendAsMultipart": true,
    "reportProgress": true,
    "reportFileSize": true,
    "reportFileDate": true
  }
}
*/

See Also