This is a migrated thread and some comments may be shown as answers.

[Solved] Make Upload component working with a single file

0 Answers 46 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yuriy
Top achievements
Rank 1
Yuriy asked on 25 May 2012, 04:23 PM
Hello,

Is it possible to make MVC Upload component working with single file?
With ".Multiple(false)" method I can limit user to select only 1 file. But after user upload that file he can select another one and it will be added as a second to the list of files. I can hide the file list but then the progress bar is hidden either and control looks not very pretty.

The behavior I'm looking for is something similar to RadAsyncUpload MaxFileCount=1 attribute but for MVC upload.

Thank you for your help.
Tags
Upload
Asked by
Yuriy
Top achievements
Rank 1
Share this question
or