I'm running into some issues with updating my 'Owners' (in this case it's binded to a datatable of Locations).
DataTable - LocationsLocationID, LocationName, SortOrder, ...
DataTable - Locations
LocationID, LocationName, SortOrder, ...
The BindingSource is bound to the locations table with the LocationID as the key and sorted by the SortOrder.
Now, when I try to change the SortOrder while the calenderInfo is bound, it gives me an error:
Owner Data Binding ErrorThere is already an Owner with a Key of '2'. Owner keys must be unique.
Owner Data Binding Error
There is already an Owner with a Key of '2'. Owner keys must be unique.
I don't understand why I get this error when i'm not changing any of the ID's, only their SortOrder.
I've also tried to clear the CalenderInfo bindings for owners, however when I try that, I get this Error:
System.NullReferenceException: Object reference not set to an instance of an object.
Anyone have a solution?
That sounds like a bug; you should report it via the web support form.