Hi,
I have a column in my grid that is using an UltraDropDown control to display a value and provide a list for the user. I have changed the column style to be the following:
ColumnStyle.DropDownValidate
I have to make sure that the cell can’t leave edit mode if an invalid entry is typed in by the user. This is why I am using the validate style.
Is there a way to “catch” the built in validation error that appears and then replace it with my own error message control? This has been asked in order to keep things consistent throughout the application.
Thanks,
Steve
Hi Steve,
Yes, you should be able to do this in the Error or CellDataError event of the grid. One or both of these events should fire when validation fails and the event args will allow you to cancel the default error message so you can show your own.
That worked great, thanks for your help!