Is there an event thrown when a file is removed from the upload queue?
I need to know when a file is removed from the RadUpload panel's list of files-to-be-uploaded. Is this possible? I would imagine there must be an event to handle this. If not, then it may be a show-stopper.
1 Answer, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 09 Feb 2012, 10:58 AM
Hi Mike,
The RadUploadItems expose PreviewDelete and Delete events. You can attach an event handler to both in C# code behind like this:
public MainPage()
{
InitializeComponent();
RadUpload1.AddHandler(RadUploadItem.DeleteEvent, new DeleteEventHandler(OnDelete));
RadUpload1.AddHandler(RadUploadItem.PreviewDeleteEvent, new DeleteEventHandler(PreviewDelete));