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

Can't Remove The first file uploaded or limit file list to 1

1 Answer 47 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 25 Aug 2010, 05:05 PM
I believe this is a problem with the flash uploader but it could just be an configuration issue on my part. 

First I am trying to limit number of files uploaded to just a single file. I am doing this in code behind so I have set the following in attempt to stop the user from being able to hit select multiple times and add new files:
radAsyncUpload.MultipleFileSelection = MultipleFileSelection.Disabled;
radAsyncUpload.MaxFileInputsCount = 1;
radAsyncUpload.InitialFileInputsCount = 1;
radAsyncUpload.AutoAddFileInputs = false;

The textbox and the select button do go away after a users selects the first file, but simply clicking on the first file name OR THE REMOVE TEXT BUTTON will cause the browse popup to come up again and the user can select another file. Once they do this the new file is added to the list (with its own remove text button) resulting in multiple files. 

If there are multiple files in the list you can never remove the first file, clicking on the remove text simply popups up the browse for file window in order to add a new file. Clicking on remove text for any file after the first DOES work correctly by removing the file.

Any suggestions on configuration options I can try to fix these issues?
Thanks for any help you can provide.

Matt

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 27 Aug 2010, 10:19 AM
Hello Matt,

We are aware of that problem and have already fixed it for the latest service pack which was released earlier in the morning. Please, give it a try with the latest SP. The problem should be gone.

Kind regards,
Genady Sergeev
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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
AsyncUpload
Asked by
Matt
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or