Drop file from desktop to gridview

5 posts, 0 answers
  1. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 04 Jan 2012 Link to this post

    Hello,

    I want drop file from desktop to radgridview.
    I use event drop and the  property AllowDrop is equals true

    But when  I drop an file, the event not start.
    In an first time, I display an simple message "HELLO" when I drop file, but I never have the message.

    Can you help me ?

    Thanks

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 04 Jan 2012 Link to this post

    Hello,

     Generally when you have the AllowDrop set to True, then the Drop event of the RadGridView should fire on drop over the GridView. I am not sure what is the event that does not start in your solution. 

    Please refer to the attached sample project showing the drop behaviour. 

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 04 Jan 2012 Link to this post

    Thanks for code source,

    But in my application, i can't drop file.The mouse pointer not change.



  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Jan 2012 Link to this post

    Hi,

     Would you please send me a sample project so that I can further check what your situation is?

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. GOURVEZ JJ
    GOURVEZ JJ avatar
    55 posts
    Member since:
    Dec 2009

    Posted 06 Jan 2012 Link to this post

    Hi,

    The problem is resolved.

    On GridViewDataColumn columns, I removed all style, and now I can drop file.

    There are errors with my style.

    Thanks for your help
Back to Top