Hi,
I have an object named "Item" and i bind it with ultra combo. But i cannot set the SelectedItem for it like we do in .Net native combo by using SelectedItem property, so that when it fetches records from database, the selected item automatically sets.. Instead, here in case of ultra combo, i have set the value property of ultra combo with my Item.Key (which is the primary key) in coding.. Also at the time of saving, i have to set the Item object with Ultracombo.SelectedRow.ListObject... I think this is the overhead in ultra combo.. Since .Net native combo needs not to set these properties in coding...
Your help required...
Ovais.
If you want the UltraCombo's value to be associated with the actual ListObject of the row, rather than a particular field in that row, you can do this:
this.ultraCombo1.ValueMember = Infragistics.Win.BindableValueList.USE_LISTOBJECT_AS_VALUEMEMBER
Thanks Mike.
But i dont want to write any code for combo binding.. Is there any alternate?