Check documentation for the latest version of dhtmlxSuite onUploadFile DHTMLX Docs

onUploadFile

fires when a single file from the list has been uploaded to the server

void onUploadFile(string realName,string serverName);
realNamestringthe real name of the file (as it's displayed in the control)
serverNamestringthe file name that the server returns

Example

myForm.attachEvent("onUploadFile",function(realName,serverName){
    // your code here
});

Details

If the file is the only one in the list or in case all files in the list are uploaded - the onUploadComplete event fires.

Back to top