Use ComboBox for Navigation

  • Thread starter Thread starter jehugaleahsa
  • Start date Start date
J

jehugaleahsa

Hello:

I would like to use a Combo Box for navigation purposes in one our
Windows Forms. I have the Combo Box and the controls bound to the same
BindingSource. When the user selects a value from the drop down, I
would like it to move the binding source to the item with the selected
value. Make sense?

Is this something that is built-in, or will I have to write some code
behind?

Thanks,
Travis
 
Hello:

I would like to use a Combo Box for navigation purposes in one our
Windows Forms. I have the Combo Box and the controls bound to the same
BindingSource. When the user selects a value from the drop down, I
would like it to move the binding source to the item with the selected
value. Make sense?

Is this something that is built-in, or will I have to write some code
behind?

Thanks,
Travis

Actually, this works right out of the box. Just make sure the drop
down list's binding source is the same that is used for the other
controls. Bind to SelectedText. I made sure to set my data source
value member to the key column of my data, since I had duplicate
display members.

Thanks,
Travis
 
Back
Top