RadUpload And How to process dropped files in Safari under Mac

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 13 Oct 2011 Link to this post

    Requirements

    RadControls version Q2 2011 SP1
    .NET version 4.0
    Visual Studio version 2010
    programming language C#
    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    Drag-and-drop events in Silverlight have some differences depending on the platform. In particular, drag-and-drop input actions are reported differently on a Macintosh computer. Therefore, Silverlight-based applications that run on a Macintosh must use different techniques to process a drag-and-drop action.
    This project demonstrates how to handle drag/drop events on a Macintosh in order to populate the RadUpload Items collection with the dropped files. The techniques used in the sample are described in this msdn article.
    Basically as soon as the Silverlight application receives the DragEventArgs, the RadUpload ProcessDroppedData() method is used to add the dropped files in the RadUpload.Items collection.
Back to Top