Enable/Disable Browse and Upload buttons

4 posts, 0 answers
  1. Niluka Subasinghe
    Niluka Subasinghe avatar
    1 posts
    Member since:
    Dec 2009

    Posted 25 Dec 2009 Link to this post


    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.


  2. Ivan
    Ivan avatar
    519 posts

    Posted 28 Dec 2009 Link to this post

    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.

    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.
  3. Mike
    Mike avatar
    2 posts
    Member since:
    Jan 2009

    Posted 10 Jun 2010 Link to this post


    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?

  4. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 15 Jun 2010 Link to this post

    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:

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