Hello Joao Paulo Grassi,
In your case, since you're using an old release of the control and there are known issues with your scenario there, I'd recommended you a slightly different approach.
Instead of canceling an already started upload, you can handle the RadUpload.FilesSelected
event to implement a validation logic, based on which to disable the Upload button until the user enters a valid value in the TextBox
. Can you please examine the attached solution and let me know if this approach works for you? Thank you in advance.
All the best,
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>