Validating in a datagrid

  • Thread starter Thread starter Karl
  • Start date Start date
K

Karl

Hi All

I'm trying to validate some values in a datagrid so that if the user does
not fill in all required fields the focus remains in the row until they
complete the requirements or cancel the entry. Presently I'm using the
DataRowChangeEventArgs

to check the columns for the required values and then ending the edit and
rejecting the changes if they fail. However they are not restrained in the
record so they can still leave the row uncompleted. Anybody know how I can
hold the user in the same row until all requirements are met


Thanks


Keds
 
Back
Top