This question is locked. New answers and comments are not allowed.
                        
                        Hi,
    
    
                                I have a case where I would like the user to be able to drag files from the local computer and drop them onto the upload control.
I can set AllowDrop="true" and bind to the Drop event and read the files, but how do I add them into the RadUpload control so it can handle the upload to the server? (I'm using SL4) Here is an example:
| <telerikInput:RadUpload AllowDrop="True" Drop="UploadControl_Drop" x:Name="UploadControl" ... /> | 
| private void UploadControl_Drop(object sender, DragEventArgs e) | 
| { | 
| if (e.Data == null) | 
| return; | 
| foreach (FileInfo file in (FileInfo[]) e.Data.GetData(DataFormats.FileDrop)) | 
| { | 
| using (FileStream sr = file.OpenRead()) | 
| { | 
| // the file can be read here. | 
| } | 
| // Could something like this be done (the code below does not work) | 
| RadUploadSelectedFile item = new RadUploadSelectedFile(file); | 
| UploadControl.Items.Add(item); | 
| } | 
| } | 
Many thanks!

