WineNCheese

I am having many problems with the CellValidating event. In many cases while editing cells and focus is moved elsewhere in the app (other focusable controls), the CellValidating event does not fire. Since this is the only means I know of by which to capture the leaving of a cell being edited so I can validate, I'm stuck. Do I need to go get a 3rd party grid Or write my own (again)

Thanx

WNC




Re: Windows Forms General DataGridView.CellValidating event problems

Zhi-Xin Ye - MSFT

This is strange, the CellValidating event should work, could you provide the steps to reproduce this problem






Re: Windows Forms General DataGridView.CellValidating event problems

WineNCheese

The situation is fairly complicated. I don't think I can come up with a simple environment that reproduces the problem. I have many custom controls, most inside a few levels of custom container controls. If there are no known problems, I will just have to dig deeper...