Is there a way to have multiple controls in a datagridview column and have only one control be visible at a time? I haven't found much on this in my google searches so I'm assuming this isn't easy to do. What I'm trying to set up is a grid to let the user enter filter settings where the first column would be descriptions like Start Date, Include Inactive Records, Select Type, and the second column would be like:
Row 1: Textbox(s) for entering a date or date range.
Row 2: Check box for true/false entry.
Row 3: Combo Box for selecting from a list.
Etc.
My work around is to have a few invisible panels next to the grid where each panel would contain the appropriate controls for each type of entry that I need. Then as the the user changes rows the program would change the visible property of the panels to display the proper panel for that type of entry. I'm open to any suggestions or ideas that someone has used to solve this type of problem. The use of a grid would also make it easier for me to save/recall these settings to use at a later time. It would also make my report filter forms more consistent and save screen space.
Auguy
Sylvania/Toledo Ohio
Row 1: Textbox(s) for entering a date or date range.
Row 2: Check box for true/false entry.
Row 3: Combo Box for selecting from a list.
Etc.
My work around is to have a few invisible panels next to the grid where each panel would contain the appropriate controls for each type of entry that I need. Then as the the user changes rows the program would change the visible property of the panels to display the proper panel for that type of entry. I'm open to any suggestions or ideas that someone has used to solve this type of problem. The use of a grid would also make it easier for me to save/recall these settings to use at a later time. It would also make my report filter forms more consistent and save screen space.
Auguy
Sylvania/Toledo Ohio