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

2 posts, 0 answers
  1. Tim
    Tim avatar
    20 posts
    Member since:
    Jan 2009

    Posted 02 Aug 2010 Link to this post

    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.
  2. Tim
    Tim avatar
    20 posts
    Member since:
    Jan 2009

    Posted 03 Aug 2010 Link to this post

    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}
  3. DevCraft banner
Back to Top