Hi,
I was wondering if someone could tell me how to access the name of the uploaded file with javascript. I have the following javascript code:
function onLoad(){
var slCtl = document.getElementByID("Uploader");
slCtl.Content.Uploader.FileUploaded = FileUploaded;
}
function FileUploaded(sender, args) {
var fileName = args.SelectedFile.Name;
}
When I upload a file, I get an error message saying "Object doesn't support the property or method...".
In reading the documentation, I see that the RadUploadEventArgs object has a SelectedFile property which has a Name property. What am I doing wrong?
I was wondering if someone could tell me how to access the name of the uploaded file with javascript. I have the following javascript code:
function onLoad(){
var slCtl = document.getElementByID("Uploader");
slCtl.Content.Uploader.FileUploaded = FileUploaded;
}
function FileUploaded(sender, args) {
var fileName = args.SelectedFile.Name;
}
When I upload a file, I get an error message saying "Object doesn't support the property or method...".
In reading the documentation, I see that the RadUploadEventArgs object has a SelectedFile property which has a Name property. What am I doing wrong?