This is a migrated thread and some comments may be shown as answers.

Get Dropped file from another control and upload through the Telerik Upload control

1 Answer 42 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 02 Aug 2010, 10:26 PM
I have a grid showing all my current files that have been uploaded in my Silverlight 4 application.  I have the Telerik Upload control and it is working great with Drag and Drop of files from the user's desktop.  But I would like to enhance this functionality by also allowing the user to drop files to the grid and catch that drop event and "forward" it on to the upload control.  Is there a tutorial or other information on the best way to do it.

1 Answer, 1 is accepted

Sort by
0
Tim
Top achievements
Rank 1
answered on 03 Aug 2010, 06:24 PM
I found it, you just wrap the control (such as a DataGrid) with the RadUploadDropPanel.  Then set the RadUpload attribute to the x:Name of the RadUpload control that you want to target your drop operations to. 

For instance, if your RadUpload's x:Name is "RadUpload1" then your RadUploadDropPanel's RadUpload attribute would look like this:

RadUpload="{Binding ElementName=RadUpload1}
Tags
Upload
Asked by
Tim
Top achievements
Rank 1
Answers by
Tim
Top achievements
Rank 1
Share this question
or