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

2 posts, 0 answers
  1. Matt
    Matt avatar
    1 posts
    Member since:
    Apr 2010

    Posted 25 Aug 2010 Link to this post

    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.

  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 27 Aug 2010 Link to this post

    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
Back to Top