Hello,
I have a GridView on which I want to set programmatically the CurrentCell. I have found a solution using this metohd
But using this method fires twice the CurrentCellChanged event which it is not desirable.
Is there other way to do this to simulate the Mouse Click which does not fire twice the CurrentCellChanged?
Thanks in advance
I have a GridView on which I want to set programmatically the CurrentCell. I have found a solution using this metohd
public
void
SetCurrentCell(
int
rowIndex,
string
columnName)
{
CurrentRow = Rows[rowIndex];
CurrentColumn = Columns[columnName];
}
But using this method fires twice the CurrentCellChanged event which it is not desirable.
Is there other way to do this to simulate the Mouse Click which does not fire twice the CurrentCellChanged?
Thanks in advance