How to get rid of Add/Remove buttons on RadUpload

Thread is closed for posting
3 posts, 0 answers
  1. Jamie
    Jamie avatar
    12 posts
    Member since:
    Aug 2010

    Posted 07 Sep 2010 Link to this post

    I am currently working with the RadUpload control and want to know how, if possible at all, to do the following:

    2.) Is there a way to browse only valid file types?

    Any help is appreciated, thanks.


    EDIT- Found the code to remove the Add/Delete buttons using the ControlObjectsVisibility property.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Sep 2010 Link to this post

    Hello Jamie,

    The code in the documentation shows how to clear the file input field if the selected file has an invalid extension. I hope this would help.

  3. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 08 Sep 2010 Link to this post

    Hello Jamie,

    RadUpload does not provide the functionality to browse only the allowed file types. However, you can use the approach that Shinu has mentioned in order to fire validation failed should file with not allowed extension is selected.

    The good news are that we will provide support for browsing only the allowed file types in the next version of RadAsyncUpload. I suggest that you take a look at the RadAsyncUpload demos which can be found here.

    Best wishes,
    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