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

How to get rid of Add/Remove buttons on RadUpload

2 Answers 103 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jamie
Top achievements
Rank 1
Jamie asked on 08 Sep 2010, 12:26 AM
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.


-Jamie

EDIT- Found the code to remove the Add/Delete buttons using the ControlObjectsVisibility property.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Sep 2010, 07:01 AM
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.
OnClientFileSelected



-Shinu.
0
Genady Sergeev
Telerik team
answered on 08 Sep 2010, 07:25 AM
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
Tags
Upload (Obsolete)
Asked by
Jamie
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Genady Sergeev
Telerik team
Share this question
or