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

Browse button vanishes after removing uploaded file

1 Answer 66 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Monik
Top achievements
Rank 1
Monik asked on 13 Aug 2015, 06:53 AM

i have used a RadAsyncUpload in my Aspx page. It works fine but when i upload a file and then remove the file, the browse button also gets invisible.

below is my control being used

Please guide on the same.

Thanks in advance

 

<telerik:RadAsyncUpload Width="230px" runat="server" ID="rgEditUpload" OnClientFileUploaded="onClientFileUploaded"
MaxFileInputsCount="1"     AllowedFileExtensions="jpg,jpeg,png,gif,pdf" OnClientValidationFailed="OnClientValidationFailed"
OnClientFileUploadRemoved="onClientFileRemoved">
    <FileFilters>
        <telerik:FileFilter Description="Documents(pdf;tiff;tif)" />
    </FileFilters>
    <Localization Select="Browse" />
</telerik:RadAsyncUpload>

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 14 Aug 2015, 01:40 PM
Hi,

The described issue sounds as a known one that we have just fixed - maxFileCount doesn't change, but files deleted via API are still counted towards total. Basically, if a file is deleted by clicking the Remove button, the Browse button is visible. But if the file is deleted using the API, then that file is counted for the MaxFileInputsCount condition. It is set to 1 in your case, so the Browse button disappears after deleting the first uploaded file.

The issue has been fixed and the fix will be included in the Q3 2015 release.

Regards,
Dimitar
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
AsyncUpload
Asked by
Monik
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or