If the item not selected in combobox and the user click on the another tabpage,it should show "The option from dropdown should be selected" and focus the combo .I have did this in validating event
void cmbDistribution Option_Validati ng(object sender, CancelEventArgs e)it works fine till focusing the combo.If I again try to select the combo which is focused,the dropdown of the combo is flickering(drop down shows and goes up)
{
ComboBox cmb = (ComboBox)sende r;
if (cmb.SelectedIn dex <= 0)
{
MessageBox.Show ("The option from dropdown should be selected.", "Popup", MessageBoxButto ns.OK);
e.Cancel = true;
}
}
I tried to select the item but its not possible.
Any solution for this weird behaviour?