You can use the e.SelectedFile
property instead of the NewFileStream
one. The SelectedFile
will give you further access to the uploaded or uploading file. You can use it in both event handlers - FileUploaded
depending on your requirements:
sender, FileUploadStartingEventArgs e)
RadUploadSelectedFile file = e.SelectedFile
FileInfo FileInfo = file.File;
String FileName = file.Name;
FileSize = file.Size;
I also attached a sample project illustrating this approach. Can you please take a look at it and let me know if this is what you had in mind?
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.