Resetting visible appearance after upload

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

    Posted 10 Mar 2011 Link to this post

    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?
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 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.

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