DragClueField shows null when dragging multiple objects

2 Answers 102 Views
Grid
Fabian
Top achievements
Rank 1
Fabian asked on 03 Aug 2023, 09:19 AM

Hi,

the DragClueField always shows 'null' when dragging multiple objects instead of just one.

When only one item is dragged it shows the specified attribute but when it's two or more objects from a grid it salways shows 'null'.

Are you aware of this bug?

2 Answers, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 08 Aug 2023, 05:59 AM

Hello Fabian,

Can you reproduce the same behavior with the code snippet from our Drag and Drop documentation article (the Drag and Drop multiple rows section)? I have tested it multiple times and the correct Drag Clue is always rendered (N items selected). I would appreciate it if you modify the code snippet and send it back to us for further investigation. 

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Fabian
Top achievements
Rank 1
commented on 08 Aug 2023, 01:43 PM

Hey Svetoslav,

no I can not reproduce the bug. Our implemenatiton of the grid is huge. I have the inkling that it might be caused by us using the "SelectedItems" attribute from your grid - thats the only difference I can spot that might cause somethign like that.

Here is a screenshot from our code where I marked the two relevant spots. Also I have to clarify the clue shows what it is supposed to when only dragging one item. But when dragging multiples it only shows the correct amount and then 'null' - like this:

0
Dimo
Telerik team
answered on 11 Aug 2023, 07:18 AM

Hi Fabian,

The null label indicates a missing localization key, specifically Grid_DragItems. Please update the Telerik .resx files in your app.

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Fabian
Top achievements
Rank 1
commented on 11 Aug 2023, 08:13 AM

Hey Dimo, 

thank you very much! That was the issue. Problme solved. Thanks!

Tags
Grid
Asked by
Fabian
Top achievements
Rank 1
Answers by
Svetoslav Dimitrov
Telerik team
Dimo
Telerik team
Share this question
or