Hi All,
I have a Combobox in SL App when I remove item from the collection (ObservableCollection<UserDTO>/List< UserDTO >) work fine, but the issue that Combobox not update its items-Containing area when its bind with ObservableCollection, mean if there were 4 items in Combobox then will remain 3 but total space of items-Containing remain 4. And but when its bind to List<> then it only delete the item from collection but not from Combobox area, mean if there were 4 items in Combobox then will remain even 4. why, here is some code: XAML: <ComboBox x:Name="ddlUser" Canvas.ZIndex="2" Grid.Row="0" Grid.Column="1" DisplayMemberPath="name" ToolTipService.ToolTip="Select user." Style="{StaticResource NormalDropDownListStyle}" /> CS: private ObservableCollection<UserDTO> resultUserDTO = new ObservableCollection<UserDTO>(); private List<UserDTO> resultUserDTO = new List<UserDTO>(); also why should I use List<> over ObservableCollection.? Enen though I call this like, ddlUser.UpdateLayout(); ddlUser.SelectedItem = innerUserDTO; Thanks & Regards, Muhammad Niaz Software Engineer Intagleo Systems Pvt Ltd www.intagleo.co.uk ------------------------------------------------------------------- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net