update the datagridview combobox, throws "Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function."
<p>when i try to update the content of the datagridview combo box it throws
Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function
at line ,node.Cells[(int)Parameters.eColumn.valueBySelectionColumn] = cboCell;</p>

<p>How can i solve this problem??
THX</p>

<pre><code>    private void treeGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
    {
        try
        {
            if (e.Control.GetType() == new DataGridViewComboBoxEditingControl().GetType())
            {
                if ((cboEditor != null) &amp;&amp; (cboEditor_EventHandler != null))
                {
                    cboEditor.SelectedIndexChanged -= cboEditor_EventHandler;
                }
                cboEditor = (DataGridViewComboBoxEditingControl)e.Control;
                cboEditor.SelectedIndexChanged += cboEditor_EventHandler;

                if (this.treeGridView1.SelectedCells.Count &gt; 0 &amp;&amp;
                    this.treeGridView1.SelectedCells[0].ColumnIndex == (int)Parameters.eColumn.valueBySelectionColumn)
                {
                    TreeGridNode node = GetCurrentNode();
                    object cellValue = node.Parent.Cells[(int)Parameters.eColumn.sectionTypeColumn].Value;

                    Parameters.eSection section = (Parameters.eSection)dicSection[cellValue.ToString()];
                    this.treeGridView1.Focus();
                    switch (section)
                    {
                        case Parameters.eSection.UNIX_Script:
                            DataGridViewComboBoxCell cboCell = Parameters.ValidateChoice(Parameters.eSection.UNIX_Script,
                                node.Cells[(int)Parameters.eColumn.parameterTypeColumn].Value,
                                ref cboEditor);
                            if (cboCell != null)
                            {
                                ***node.Cells[(int)Parameters.eColumn.valueBySelectionColumn] = cboCell;***
                                node.Cells[(int)Parameters.eColumn.valueBySelectionColumn].Style.BackColor =
                                    node.Cells[(int)Parameters.eColumn.sequenceColumn].Style.BackColor;
                            }
                            break;
                    }
                }
            }
        }
    }
</code></pre>
