i want to use a radAutocompletebox in my application. the ItemSource is dynamically from my database. i have a code like this: var list = extrainfo.database.UserPrivateInfoes;
foreach (var item in list)
{
obs.Add( new RadAutoCompleteBoxItem{Content= item.UName} );
}
TX_Receiver.ItemsSource = obs;which the obs is observablecollection .the problem is when the items are shown in dropdown i have an item with TWO CROSS BUTTON for remove. actually it is not nice enough!! but when i add a list of String to ItemSource the problem is resolved. i need to have an item not just with a string for its name, i need more info (like UID) for every item. is there any solution??
foreach (var item in list)
{
obs.Add( new RadAutoCompleteBoxItem{Content= item.UName} );
}
TX_Receiver.ItemsSource = obs;which the obs is observablecollection .the problem is when the items are shown in dropdown i have an item with TWO CROSS BUTTON for remove. actually it is not nice enough!! but when i add a list of String to ItemSource the problem is resolved. i need to have an item not just with a string for its name, i need more info (like UID) for every item. is there any solution??