Programatically call a cancel (or a reset)

2 posts, 0 answers
  1. Steve
    Steve avatar
    36 posts
    Member since:
    Feb 2011

    Posted 09 Mar 2011 Link to this post

    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?

  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 14 Mar 2011 Link to this post

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