TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Johnny
NA
17
0
Dynamic Combo Box problem
Oct 17 2007 3:42 PM
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)
{
}
Reply
Answers (
7
)
Select All in Winword
Beginner Questions