We are using a virus checking service that accepts the filebytes from the file upload control as a parameter. How would I access this in the ItemCommand in the looping statement?
If I can't do it, is it possible to override the default upload control and use a regular file upload component?
If I can't do it, is it possible to override the default upload control and use a regular file upload component?
RadFileExplorer explorer = sender as RadFileExplorer; |
foreach (UploadedFile file in explorer.Upload.UploadedFiles) |
{ bool bFileIsVirusFree = Helper.IsFileVirusFree(file.FileBytes); |
} |