FileManagerClientEvents.Extracted Property
Definition
- Namespace
- GleamTech.FileUltimate.AspNet.UI
- Assembly
- GleamTech.FileUltimate.dll
Gets or sets the client-side event raised after user extracts (unzips) a file or folder in file manager. 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".
public string Extracted { get; set; }
Property Value
Examples
Example function:
function fileManagerExtracted(sender, e) {
var fileManager = sender;
//Pretty print the event arguments
var json = JSON.stringify(e, null, 2);
alert(json);
}
//SAMPLE OUTPUT:
/*
{
"eventName": "extracted",
"item": {
"itemType": "File",
"name": "DOCX Document.zip",
"fullPath": "[Root Folder 1]:\\Folder Two\\New folder\\DOCX Document.zip",
"extension": "zip",
"dateModified": "2018-09-04T13:03:16.358Z",
"type": "ZIP File",
"size": 279359
},
"targetFolder": {
"name": "New folder",
"fullPath": "[1. Root Folder]:\\Folder Two\\New folder",
"itemType": "Folder"
},
"targetSubfolderName": "extracted subfolder"
}
*/