I have a DateTimeEditor sitting inside of a WinGrid cell and after picking a date it is not being shown in the cell. We just upgraded from 2007 vol.2 to 2008 vol. 2 and this was working in the earlier version. Also the code uses the grid updatemode of OnCellChange then overrides that method to do some custom validation. Should this be changed and if so what event should be overridden.
Thanks,
Blair
Blair,
What kind of logic are you doing to validate text? And when you say that it's "sitting inside of a WinGrid cell" do you mean that it is used as the EditorControl for that cell/column? I just quickly tried this out and I was able to select a new value with a DateTimeEditor used as the EditorControl of the column. Can you post more information as to what you are doing so that we can better track down a solution?
-Matt
The validation just checks that the Text / Value is not null or empty. And yes it is the EditorControl for that column. I have to admit that I do not totally understand this code (I just inherited the project).
I can't really say what might be causing this. If you can provide a small sample here, I might be able to help you, or you could contact Developer Support and they should be able to help you out.
I figured out the problem. It seems the upgrade to 8.2 fixed an issue where a work around had been made and now that work around broke the system.