GridView Mouse Events

4 posts, 0 answers
  1. Surya
    Surya avatar
    41 posts
    Member since:
    Nov 2011

    Posted 23 Jul 2013 Link to this post

    Hi,

    I tried implementing File Drag and Drop operations from Windows Explorer to Gridview using Mouse Down and Mouse Up events but it did not
    behave as expected.

    Please suggest solutions for the following things regarding drag and drop operations of Grid view

    1) How to perform drag and drop operations from Grid view to Windows Explorer similar to Drag Enter and Drag Drop events.
    Is there any specific event to perform it.

    2) How to get the current state of Mouse Buttons (Pressed or Released) when holding a button during drag operations in Mouse Down event

    3) How to validate/ handle the Single Click and double click during drag operations.

    4) How to terminate the DoDrag Event which is intialized by calling Gridview.DoDragDrop .

    Thanks.
  2. Paul
    Admin
    Paul avatar
    60 posts

    Posted 26 Jul 2013 Link to this post

    Hello Surya,

    Thank you for writing.

    If you want to drag and drop files to grid view you should implement DragEnter and DragDrop events apart from AllowDrop. Here is a great article discussing the issues you are asking about: drag'n'drop files to a gridview

    Hope that helps. Please let us know if we can be of further assistance.

    Regards,
    Paul
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. Surya
    Surya avatar
    41 posts
    Member since:
    Nov 2011

    Posted 29 Jul 2013 Link to this post

    Hi Paul,

    Thanks for your answer. Please suggest the solution to perform File drag and drop operations from Grid view to Windows Explorer .
  4. Paul
    Admin
    Paul avatar
    60 posts

    Posted 01 Aug 2013 Link to this post

    Hello Surya,

    Thank you for writing back.

    I am attaching a project with a drag and drop implementation from RadGridView to Windows Explorer. Feel free to check it out.

    I hope it will help you get your project up and running. Please let us know if we can assist you further.

    Regards,
    Paul
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top