Disable Upload button in RadUpload Control using Silverlight 5

2 posts, 0 answers
  1. Mohamed
    Mohamed avatar
    1 posts
    Member since:
    Oct 2013

    Posted 23 Oct 2013 Link to this post

    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 . .... 
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 Oct 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top