drag and drop from grid?

2 posts, 0 answers
  1. Christian
    Christian avatar
    65 posts
    Member since:
    Apr 2008

    Posted 12 Jan 2015 Link to this post

    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.

  2. Vessy
    Vessy avatar
    1641 posts

    Posted 13 Jan 2015 Link to this post

    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.

Back to Top