AD
Administrator
Syncfusion Team
April 27, 2007 04:52 PM UTC
To do validation when paste in a GridDataBoundGrid, you need to subscribe to grid.Model.PasteCellText event. There you can validate e.Text based on e.RowIndex, e.ColIndex, e.Style, etc. If you want to not paste a cell but continue pasteing other cells, you can set e.Cancel = true. If you want to stop all pasteing, you set e.Abort = true.