Sach

Sach

  • NA
  • 5
  • 13.4k

Drag and Drop Controls

Oct 20 2008 1:16 AM
Please do help me with the following problem.

In my C# Application Program, I have a DataGridView control. There are several rows and columns without data in it. And I need some type of a control (say, a lable or a button or a textbox - any control of my choice) to be able to dragged and dropped on this DataGridView so that it fits into the cell when I drop the control.

This dragged control in reality is do be drawn (or created) at runtime, but for the time being if I can get a predefined control to get the desired functionality, that would suffice.

Please do help with this. I checked this forum as well as a few others but couldn't find an answer. Also, please do explain how I get the drag-drop functionality to any control as well.

Thanks in advance!

Answers (1)