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

Programatically call a cancel (or a reset)

1 Answer 69 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 09 Mar 2011, 04:17 PM
Hi there.

I have an instance of the RadUploader and a button. When I click the button, the RadUploader appears, and when the upload finishes, the RadUploader disappears.
What I want is for the state of the RadUploader to reset when it's made visible, so it looks like they user is making a fresh upload.

How can I do this?

Thanks.

1 Answer, 1 is accepted

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

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

Kind regards,
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