That helps. Thanks a lot.
>1) Try handling the DragDrop event on teh target grid and set the e.Effect there.
>
>private void gridDataBoundGrid2_DragDrop(object sender, DragEventArgs e)
>{
> e.Effect = DragDropEffects.Copy;
>}
>
>
>2) You can use the DragOver event on the target to disallow a drop. Here is a handler taht will not drop if the mouse is over column 2.
>
>private void gridDataBoundGrid2_DragOver(object sender, DragEventArgs e)
>{
> Point pt = this.gridDataBoundGrid2.PointToClient(new Point(e.X, e.Y));
> int row, col;
> if(this.gridDataBoundGrid2.PointToRowCol(pt, out row, out col, -1))
> {
> if(col == 2)
> e.Effect = DragDropEffects.None;
> }
>}
>