When the user selects a file to upload using the kendo upload control, it shows it under the control.
The upload control I'm using is needed only if a certian flag is on so sometimes I hide it.
If the users chooses an option that requires a file upload then it is shown.
What happens is, that if the user chooses a file and then changes the option to a one without an upload, the file will be sent to the server non the less.
Even if I clear the value of the input and remove all the elements like suggested in a google search that I did.
I want to clear the upload control when it is hidden.