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
5549
Ultracomboeditor (drop down box) with 2 or more Strings
posted

hi, i have on my form a Ultracomboeditor control. i set it like

 

 

Me.cbocontainer1.DisplayMember = "no"

 Me.cbocontainer1.ValueMember = "ID"

 

 

 

Me.cbocontainer1.DataSource = data

 

 

 

Me.cbocontainer1.SelectedIndex = 0

 

 

 

Me.cbocontainer1.AutoSuggestFilterMode =Infragistics.Win.AutoSuggestFilterMode.Contains

 

 

 

Me.cbocontainer1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode

.SuggestAppend

 

Now i want instead of
name
name1
name2


display
name, street,town
name, street,town

i have found nothing in the forum . only 
http://forums.infragistics.com/forums/p/16088/58711.aspx#58711

but this is only for wingrid.
here i have no InitializeRow event

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    There are two ways you can do this:

    1. Add a new column to your DataSource which contains the full text you want and use that column as your DisplayMember.
    2. Use UltraCombo instead of UltraComboEditor and add an unbound column to it which is populated in InitializeRow and use that unbound column as your DisplayMember column.
Children