RadUpload and RadProgressArea not working as expected Need Help - Urgent

Thread is closed for posting
4 posts, 0 answers
  1. Shubh
    Shubh avatar
    4 posts
    Member since:
    Feb 2011

    Posted 21 Feb 2011 Link to this post

    Hi All,
    To start with I have a page with RadUpload control alongwith RadProgressArea,one listbox and three asp buttons(Named Add to Upload,Remove Selected,Remove All.These are not link buttons but asp buttons).Once the user clicks on Add to Upload button I need to add the uploaded file into the list box.
    I have the following specific requirement with regards to the RadUpload control:
    File size more than 150 MB shouldnot be allowed to get uploaded (that means progress bar should not be shown when the file size is more than 150 MB and a popup message with the error should be shown)
    Now  I am facing the following issues:
    1. Whenever I select a file and click on any of these above mentioned buttons I am getting the Progress bar which is not the expected behavior. I just want the progress bar to appear once only when Add to Upload button is clicked. I have made the property UseSubmitBehavior  for all other buttons as false as mentioned in this link:http://www.telerik.com/help/aspnet-ajax/upload_howtopreventupload.html but of no use.

    2.To my surprise I am also getting the progress bar if the uploaded file is more than 150 MB although I have set MaxFileSize=157286400 which means 150MB but the uploader is not uploading it instead I want to show an error message box to the user and the user shouldnot have to wait for a long time.

    Please telerik support team respond me with a detailed code snippet asap since its very urgent.

    Note: I cannot use jquery or RadScriptManager functions so I need to use only javascript and server side methods(I am using ASP.Net 2.0 framework)
    Regards,
    Shubh
     
  2. Shubh
    Shubh avatar
    4 posts
    Member since:
    Feb 2011

    Posted 21 Feb 2011 Link to this post

    Uploading a file into the listbox means I am adding the filenames only to the listbox.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shubh
    Shubh avatar
    4 posts
    Member since:
    Feb 2011

    Posted 21 Feb 2011 Link to this post

    Please help.....
  5. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 24 Feb 2011 Link to this post

    Hi Shubh,

    Did  you review the AsyncUpload's Validation demo?
    You may also use the OnFileUploaded server-side event to add the uploaded files to the ListBox.

    Regards,
    Helen
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top