I would appreciate it if anyone can tell me how to get around this
bug/problem.
Thanks!
private void combo_SelectedIndexChanged(object sender, EventArgs e)
{
_MyController.CalculateTotal();
DataGridViewComboBoxEditingControl combo =
(DataGridViewComboBoxEditingControl)sender;
combo.SelectedIndexChanged -= new
EventHandler(combo_SelectedIndexChanged);
combo.DropDown += new EventHandler(combo_DropDown);
combo.GotFocus += new EventHandler(combo_DropDown);
}
void combo_DropDown(object sender, EventArgs e)
{
((DataGridViewComboBoxEditingControl)sender).BackColor =
Color.White;
}
Hope this will help u.
--
outlaw
------------------------------------------------------------------------
outlaw's Profile: http://forums.techarena.in/member.php?userid=48356
View this thread: http://forums.techarena.in/showthread.php?t=962443
sorted.