or
BindingExpression path error: 'Name' property not found on 'object' ''Char' (HashCode=5177423)'. BindingExpression:Path=Name; DataItem='Char'I am using wpf 4.0 and telerik (3rd party tool) in my application and in which using grid of telerik.Now in my application there is a requirement that if the screen resolution gets bigger than 1024*768 then the columns width should increase.So i gave column width as star (*).
But in case of more than 20 columns in one grid................all the columns get collapsed with each other and though I have done the ScrollBar visibility as auto...............I dont see the scroll bar.So kindly tell me what should be the correct way to define width for the column.
//This is from the window.xaml.cs file
((MyDataContext)this.LayoutRoot.DataContext).SelectedItems.Add(((MyDataContext)this.LayoutRoot.DataContext).Data.Where(x => x.ID == 4).First());//This is from the view model
public LineItem SelectedItem{ get { return selectedItem; } set { selectedItem = value; selectedItems.Clear(); var list = Data.Where(x => x.OrderId == value.OrderId); foreach (var lineItem in list) { SelecedItems.Add(lineItem); } OnPropertyChanged("SelectedItem"); }}