Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
Problem with typing value member into combo
posted

I have a combo and I use it to retrieve a record from my database using the name value being displayed.
The value member is the id (int) of the record. The problem though is that when I type in the value member for eg. 12, it will show the corresponding display member for it. Is there anyway to prevent that from happening? only the display member should be used to select from the combo

  • 469350
    Offline posted

    Hi,

    Try setting:

    this.ultraCombo1.ItemMatchingMode = Infragistics.Win.ValueListItemMatchingMode.DoNotConvertDataValueToString;