Click to See Complete Forum and Search --> : TextChanged Event in DataGridView


MajinSaha
October 8th, 2010, 04:16 PM
I have a DataGridView containing TextBox cells. Is there an event that raises immediately after text change within a cell ? I tried such events as CellValueChanged, CurrentCellDirtyStateChanged, TextChanged ( the last was used with help of EditingControlShowing event for DataGridView). All of them give some delay before the handler starts executing, for example they wait until I change focus from one cell to another. I want the handler to react right after the text changes. Using KeyDown, KeyPress or something like that is not sufficient for me, since I want to take into account Cut/Paste situations as well.
Can't wait to hear your answers.

Alex F
October 9th, 2010, 01:39 AM
For pure .NET programming questions it is better to ask in C# or VB .NET forums and then to translate an answer to C++/CLI/ There are a lot of programmers working in C# and VB .NET. C++/CLI is mostly used for managed/unmanaged code interoperability, you don't have a good chance to get an answer here.