Thank you for writing back.
events are always fired when you change the current cell in the grid no matter if the grid is in edit mode or not. That is why the ErrorText
is being reset. I would recommend you to clear the ErrorText
in the entry point of the CellValidating
event and depending on the input, adjust the ErrorText
. Here is a sample code snippet:
sender, Telerik.WinControls.UI.CellValidatingEventArgs e)
|| e.Value.ToString() ==
Thus, the ErrorText will remain although the editor is closed.
If you are still experiencing any further difficulties, it would be greatly appreciated if you specify in details what is the exact goal that you are trying to achieve. Thus, we would be able to assist you further. Thank you.
I hope this information helps. If you have any additional questions, please let me know.