This is a migrated thread and some comments may be shown as answers.

Drop file from desktop to gridview

4 Answers 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
GOURVEZ JJ
Top achievements
Rank 1
GOURVEZ JJ asked on 04 Jan 2012, 10:33 AM
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

4 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 04 Jan 2012, 03:40 PM
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 >>

0
GOURVEZ JJ
Top achievements
Rank 1
answered on 04 Jan 2012, 06:28 PM
Thanks for code source,

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



0
Dimitrina
Telerik team
answered on 05 Jan 2012, 10:47 AM
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 >>

0
GOURVEZ JJ
Top achievements
Rank 1
answered on 06 Jan 2012, 09:46 AM
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
Tags
GridView
Asked by
GOURVEZ JJ
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
GOURVEZ JJ
Top achievements
Rank 1
Share this question
or