i am using the following code to validate a field in a row, in a xamdatagrid. when it shows my message and i click ok it removes all data from the row. I do not want the other entered data to be cleared because a required field was not entered, i want the user to go fix this one field and submit all data.
if (string.IsNullOrEmpty(patient.ID)) { var message = new AcknowledgeDialogBox(SmartLinkStrings.MsgPatientID, null); message.ShowDialog(); e.Record.CancelUpdate(); }
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support