FileInputChanged: function (sender, args)
sender. Event source.
args. Event information.
The FileInputChanged event occurs on selecting a file to be loaded.
To execute the example, create FileUpload component named fileUpload (see href="Constructor_FileUpload.htm">FileUpload constructor).
fileUpload.FileInputChanged.add(function (sender, args)
{
alert(fileUpload.getFileName());
});
After executing the example on selecting a file to be loaded, a message that contains name of the last loaded file is displayed.
See also: