Dynamic Combo Box problem
I am having a problem with a combo box. I have three radio buttons that control the comboxes. Only one is visible. I have 4 combo boxes. The combo boxes are populated with data from a Access Database.When a user selects a item from the first combo box it then calls a stored procedure and turns the second combo box visible and so forth until the last combo box. The way I have it set right now is I have a method that gets the string from the selection in the first combo box then turns the second combobox visible and then calls another method which the repeats the first method. Problem is that the combobox does not appear until select a different radio button. When I select the first radio button again after deselcting it, it then appaears. How do I do it so that the comboboxes will dyamically appear right after each other based on the selection in the combobox? Here is a relevant code from my project.
private void GetProducColors()
{
//Misc DB calls to stored procedure Not needed to look at
//Populates the first combobox
//Gets the string selection
string strSelection = cmbProductColor.SelectedItem.ToString();
//Turns first combobox visible
this.cmbFirstColor.Visible = true;
//Send String to First Imprint Color
GetFirstImprintColors(strSelection);
}
private void GetFirstImprintColors(string strSelection)
{
}