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

Enable/Disable Browse and Upload buttons

4 Answers 211 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Niluka Subasinghe
Top achievements
Rank 1
Niluka Subasinghe asked on 25 Dec 2009, 05:19 PM
Hi,

I have a question about the Telerik RadUpload control for Silverlight.
How to Disable and Enable Browse and Upload button programatically in command area? i want to disable browse button when the upload button is clicked.after uploading that file i want to enable the browse button again.Here, I think I want to use both  uploadstarted and uploadfinished events.

Thanks,

Niluka

4 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 28 Dec 2009, 07:56 AM
Hi Niluka,

Thank you for contacting us.

Actually you do not need to deal with buttons' IsEnable state. All buttons are manipulated by the upload control itself. For example preview the attached application - the Browse button (and its counterpart "Add More Files") is automatically set to Visible or Collapsed.

Please preview the attached example and let us know if your scenario is a bit different.

Regards,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mike
Top achievements
Rank 1
answered on 10 Jun 2010, 03:40 PM
Hi,

In my case, I don't need a distinct "Upload" button, I upload file on my OK button clicked. How can I hide it forever?

Thanks
0
Tina Stancheva
Telerik team
answered on 15 Jun 2010, 04:52 PM
Hi Mike,

You should edit the control template of the RadUpload control and remove the button from there. There is no property that controls its visibility.

Here is a link to a tutorial that explains how to edit a control template:
http://www.telerik.com/help/silverlight/common-styling-appearance-edit-control-templates-blend.html

Let us know if you need further assistance.

Best wishes,
Tina Stancheva
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.
0
patel
Top achievements
Rank 1
answered on 24 Apr 2019, 05:18 PM

Hi Telerik Team,

I was use the ASP>NET MVC Q3 2011 extension. For upload file through MVC - when i remove the uploaded file "browse" button was disappear in chrome however, it's works fine in IE. Can you please give me solution for that.

Tags
Upload
Asked by
Niluka Subasinghe
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Mike
Top achievements
Rank 1
Tina Stancheva
Telerik team
patel
Top achievements
Rank 1
Share this question
or