Somewhere I've lost the plot. I have a complicated senario, and solved most of it, but still I have one issue that illudes me. Here goes
User Control has custom Dependancy Properties so that it can bind to it's host window. One property Route is a string. The string is actually a comma delimited list of long (BigInt stored values in SQL 2008r2 - pulled through a DataSet, then
parsed into a string) ex. "9,6,12" Real simple so far. The user control binds a CollectionViewSource to this string, and uses a custom converter to turn the string into a list(of long)... (or ObservableCollection(of Long), or BindingList(of
Long)) The key is the value must be a long, when pulled. Next enters the DataGrid...
I have a datagrid with 1 column. Its a DataGridComboBoxColumn. Its item source is bound to an actual dataset.datatable based CollectionViewSource called RoutingLocations. A simple list of ID,Abbrev,LocationID. I bind the DisplayValue
to Abbrev. So I get a nice lookup of the RoutingLocations in the comboBox Column. Then my list(of Long) gets attached to the DataGrid as it's ItemSource. End Result I get 3 rows properly displaying the selected Abbrev for the supplied
Now the problem. I can not get this datagrid to update the source (it nev
View Complete Post