Hi!
There seems to be a bug in RadAutoCompleteBox displayed in DataGridTemplateColumns. While editing the DataGrid row the Texts of SelectedItems aren't visible but on lost focus they are.
Could you check that please?
There seems to be a bug in RadAutoCompleteBox displayed in DataGridTemplateColumns. While editing the DataGrid row the Texts of SelectedItems aren't visible but on lost focus they are.
namespace WpfApplication.ViewModels{ public class ListViewModel { public ListViewModel() { this.ViewModels = new ObservableCollection<ViewModel>() { new ViewModel() }; } public ObservableCollection<ViewModel> ViewModels { get; set; } } public class ViewModel { public ObservableCollection<Country> AvailableCountries { get; set; } public ObservableCollection<string> SelectedCountries { get; set; } public ViewModel() { this.AvailableCountries = new ObservableCollection<Country>() { new Country() { Name = "Australia" , Capital = "Canberra" }, new Country() { Name = "Bulgaria", Capital = "Sofia" }, new Country() { Name = "Canada" , Capital = "Ottawa" }, new Country() { Name = "Denmark" , Capital = "Copenhagen" }, new Country() { Name = "France" , Capital = "Paris" }, new Country() { Name = "Germany" , Capital = "Berlin" }, new Country() { Name = "India" , Capital = "New Delhi" }, new Country() { Name = "Italy" , Capital = "Rome" }, new Country() { Name = "Norway" , Capital = "Oslo" }, new Country() { Name = "Russia" , Capital = "Moscow" }, new Country() { Name = "Spain " , Capital = "Madrid" }, new Country() { Name = "United Kingdom" , Capital = "London" }, new Country() { Name = "United States" , Capital = "Washington, D.C." }, }; this.SelectedCountries = new ObservableCollection<string>(); } }}<Window x:Class="WpfApplication.MainWindow" xmlns:local="clr-namespace:WpfApplication.ViewModels" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Width="525" Height="350"> <Window.Resources> <local:ListViewModel x:Key="ListViewModel" /> </Window.Resources> <Grid> <DataGrid AutoGenerateColumns="False" ItemsSource="{Binding ViewModels, Source={StaticResource ListViewModel}}"> <DataGrid.Columns> <DataGridTemplateColumn Width="*"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <telerik:RadAutoCompleteBox DisplayMemberPath="Name" ItemsSource="{Binding AvailableCountries}" SelectedItems="{Binding SelectedCountries}" /> </DataTemplate> </DataGridTemplateColumn.CellTemplate> </DataGridTemplateColumn> </DataGrid.Columns> </DataGrid> </Grid></Window>Could you check that please?