Dropping a file on a RadGridView row

4 posts, 0 answers
  1. Lee Francis
    Lee Francis avatar
    3 posts
    Member since:
    Nov 2012

    Posted 22 Jan 2013 Link to this post

    Hi

    I want to be able to drop a file from the desktop on to an existing row in a RadGridView. (The event handler will then do something with the file and manipulate the data for that specific row, but that isn't relevant for this discussion.)

    Can anybody shed some light on how this can be achieved? I have managed to drop a file on the the RadGridView component itsself, but that's not what I want. I need to be able to drop on a specific row (or preferably have the option to drop on the RadGridView also if it doesn't conflict).

    I am finding the Telerik documentation about drag and drop (using DragDropManager) hard to figure out since some of the examples just don't work (http://www.telerik.com/help/wpf/dragdropmanager-getting-started.html) and many of the example projects referred to in prior forum solutions seem to use the RadDragAndDropManager which I understand is soon to be obsoleted.

    Anybody? 
  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 25 Jan 2013 Link to this post

    Hi Lee,


    Indeed, you are absolutely right, the help article seems to be outdated. Please excuse us for the inconvenience caused. I have updated your Telerik points accordingly.
    However, you can find this example in our online demo. You can find the same example in your local copy of WPF demos.

    We will do our best to provide a working example that meets your requirements. We will post it here as soon as it is ready.

     

    All the best,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Lee Francis
    Lee Francis avatar
    3 posts
    Member since:
    Nov 2012

    Posted 01 Feb 2013 Link to this post

    Thanks for your reply. However, I'm a little unsure which of the examples illustrates how to drop "something" on a RadGridView row and not just the RadGridView itself. The closest is the example "Tree to Grid drag", but from what I can tell you are dropping on the gridview and not a specific row. 
  5. Nick
    Admin
    Nick avatar
    593 posts

    Posted 01 Feb 2013 Link to this post

    Hi Lee,

    Have you looked into our Row Reorder example of the GridView? Does it illustrate how to achieve your goal?

    All the best,
    Nik
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top