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

Disable Upload button in RadUpload Control using Silverlight 5

1 Answer 53 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 23 Oct 2013, 09:53 AM
I'm using Silver-light 5, and RadUpload Control.
can u help me to disable or hide the upload button in these control.
and do its work on anther button . .... 

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 28 Oct 2013, 09:57 AM
Hi Mohamed,

In order to hide elements from the ControlTemplate of the RadUpload component, you need to edit it. This means that you will need to apply a custom Template on the upload where the Upload button is Collapsed.

By default this button is collapsed in the initial state of the control so what you actually need to change are the SelectedFiles and SelectedMoreFiles visual states which change the Visibility of the button back to Visible.

I attached a sample solution demonstrating this approach. Let me know if it helps.

Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Upload
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or