AD
Administrator
Syncfusion Team
July 5, 2004 02:23 PM UTC
To validate pasting cell by cell in a GridDataBoundGrid, you can use the grid.Model.PasteCellText event.
TJ
TJ
July 5, 2004 02:26 PM UTC
Ah wait, I figured out a workaround...
In my PasteCellText handler, I just set
e.Style.Text = e.Text;
to accept the pasted text as the new cell contents, then proceed with
the two workarounds I described above.
This time, my explicitly-called Grid_CurrentCellValidating gets the new
text as intended.
Thanks,
Tom