Search code examples
comboboxajaxcontroltoolkit

Error Message by DisplayMember


I'm getting an error using AjaxControlToolKit Combobox and trying to fill the dropdownlist from database.

Combobox1.DisplayMember returns the message 'AjaxControlToolkit.ComboBox does not contain a definition for 'DisplayMember' but i found some examples with DisplayMember

AjaxControlToolkit was downloaded over NuGet and Reference is in.


Solution

  • AjaxControlToolkit ComboBox does not contain DisplayMemeber property. It can be easily checked with the Ajax Control Toolkit source code and IntelliSense.

    I suppose you messed up with default WinForms ComboBox control which in fact has this property.