There are two events that can be used: CurrentCellValidateString and CurrentCellValidated. The CurrentCellValidateString is fired every time a key is pressed and the current text is passed as a part of the EventArgs. The CurrentCellValidated is only fired once when you try to leave the current cell.
The following code example illustrates how you can get the new value of the cell in the CurrentCellValidateString event and how you can get the old value for either event.
The following screenshot displays the cell value validated on editing using events and updated in TextBox.
Figure 1: Cell value validated on editing using events and updated in TextBox
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.