Rocky
Following your video series as a template application I created a NVL, a viewmodel and a view. I can create a datasource that uses the NVL, however when I attempt to drag the datasource's model property onto a usercontrol I get the following error.
"Object reference not set to an instance of an object"
The designer window then throws an exception
"Width and Height must be non-negative"
I then created a simple console application and call the NVL.GetAll method and everything works.
Is there something about a datasource that is bound to a NVL that doesn't work with drag and drop ?
If I drag one of the properties from the NVL datasource I don't receive the first error, but in the usercontrol.resources I received the following error
"The given key was not present in the dictionary (CSLA.NameValueListBase`2
I can create a DynamicBindingListBase using the same table as the NVL and everything works.
I'm having the same problem.
This does not work:
public class CustomerAccountsList : Csla.NameValueListBase<long, string>
But this does:
public class CustomerAccountsList : Csla.ReadOnlyListBase<CustomerAccountsList, Csla.NameValueListBase<long, string>.NameValuePair>
Copyright (c) Marimer LLC