OnbeforeSend: function(args){
var data = JSON.parse(args.ajaxSettings.data);
// Add custom parameter userid
data["userid"] = "1";
// Add custom parameter in ajax settings
args.ajaxSettings.data = JSON.stringify(data);
}
|
public class FileManagerDirectoryContent1
{
public FileManagerDirectoryContent[] Data { get; set; }
public bool ShowHiddenItems { get; set; }
public string SearchString { get; set; }
public bool CaseSensitive { get; set; }
public IList<IFormFile> UploadFiles { get; set; }
public string[] RenameFiles { get; set; }
public string TargetPath { get; set; }
public string ParentId { get; set; }
public string FilterId { get; set; }
public string FilterPath { get; set; }
public string Id { get; set; }
public string Type { get; set; }
public bool IsFile { get; set; }
public bool HasChild { get; set; }
public DateTime DateCreated { get; set; }
public DateTime DateModified { get; set; }
public string PreviousName { get; set; }
public long Size { get; set; }
public string Name { get; set; }
public string[] Names { get; set; }
public string NewName { get; set; }
public string Action { get; set; }
public string Path { get; set; }
public string userid { get; set; }
public FileManagerDirectoryContent TargetData { get; set; }
public AccessPermission Permission { get; set; }
} |