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

Resetting visible appearance after upload

1 Answer 20 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 10 Mar 2011, 03:31 PM
At the start the uploader has a particular look. The progress bars are empty and there are two buttons. After you perform an upload, both bars are full and we get three buttons.

I want to make it so that I can reset the state of the control, so as it appears in the first state, but I want to do this in code on a particular event (in this case a button press).

How can I do this?

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 14 Mar 2011, 10:16 AM
Hello John,

You can invoke the radUpload.CancelUpload() method, which will set the control to its default state.

All the best,
Alex Fidanov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Upload
Asked by
Steve
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or