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

drag and drop from grid?

1 Answer 27 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 12 Jan 2015, 10:08 AM
This is more of a feature request than anything else but I need functionality to drag and drop radgrid items to the diagram area to add an shape.
suspect this would be possible if i.e. OnClientMouseDrop would be available to create a shape manually but it is not.

The background to this Is I have a list (radgrid) of items (parts relevant to a image drawing) that I want to create 'image maps' from by simply drag and drop rows into the diagram, although an image map would be more relevant I thought about using raddiagram control instead as I had hoped to be able to use the diagram out of the box and add my image/drawing as a background to the diagram and simply add custom shapes by drag and drop rows from the grid, this is not the case and in general the control seem a bit under-developed at this stage.

If anyone has an suggestion as to how I can achieve my need to create a imagemap by drag and drop grid items I´m all ears!
also need to highlight the imagemap on row hoover and vice versa.

Christian

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 13 Jan 2015, 08:31 AM
Hello Christan,

The described scenario is most of a controls integration rather than a specific control feature request. I would suggest that you examine the following demo, where a similar drag-and-drop shape creation scenario is implemented: Diagram - End User Interaction. You can use the demo logic as a base for your custom implementation and substitute the used dragging container with a Grid.

I hope this information will be helpful for you in achieving the desired scenario.

Regards,
Vessy
Telerik
Tags
Diagram
Asked by
Christian
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or