Drag and drop around user controls

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shamrock
    New Member
    • Dec 2012
    • 1

    Drag and drop around user controls

    I am creating a dashboard in VS 2010. For the widgets, I created a user control multiple instances of which are added to the dashboard. Now, the user should be able to move them around(drag and drop) on the dashboard. I need help with this feature. I tried to use the sample code from Codeproject, but the mouse down click for the user controls won't work. That is because the user controls are inherited by a bar chart, pie chart and so on. When I try to fire the mouseup event for the usercontrol, the mouse click for the bar chart/pie chart is fired. How do I get the mouseup event for the user control to fire?
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    Please post the parts of your code dealing with the mouse events... or if not too long, the entire code.

    Please remember to use the <CODE/> button in the toolbar to format posted programing code/html/sql

    Comment

    Working...