FileManagerClientEventsMoved Property

Gets or sets the client-side event raised after user moves 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".

Definition

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

Property Value

String

Example

Example function:

JavaScript
function fileManagerMoved(sender, e) {
    var fileManager = sender;

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

    alert(json);
}

//SAMPLE OUTPUT:
/*
{
  "eventName": "moved",
  "items": [
    {
      "itemType": "File",
      "name": "DOCX Document.docx",
      "fullPath": "[Root Folder 1]:\\DOCX Document.docx",
      "extension": "docx",
      "dateModified": "2011-06-01T07:21:48.000Z",
      "type": "DOCX File",
      "size": 84272
    },
    {
      "itemType": "Folder",
      "name": "Folder One",
      "fullPath": "[Root Folder 1]:\\Folder One",
      "extension": "",
      "dateModified": "2019-06-23T12:22:04.131Z",
      "type": "File Folder",
      "size": null
    }
  ],
  "targetFolder": {
    "name": "New folder",
    "fullPath": "[1. Root Folder]:\\Folder Two\\New folder",
    "itemType": "Folder"
  }
}
*/
//

See Also