This is a migrated thread and some comments may be shown as answers.

[Solved] Update ComboBox selected value from TextBox

0 Answers 29 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joe
Top achievements
Rank 1
Joe asked on 21 Mar 2012, 06:44 PM
I have a combobox that is bound to a sub-property on a model (using Razor syntax). The ComboBox is bound to a static SelectList consisting of a string code value and a string display value. I want to have a TextBox next to the ComboBox that allows the user to type in the code value. If a valid code value is typed in, it will update the ComboBox with the correct selection. There will be multiple of these controls in a single view. How should I go about doing this?
Thank you
Tags
ComboBox
Asked by
Joe
Top achievements
Rank 1
Share this question
or