Hi,
I haven't been able to display an entity collection that is passed to a form as a parameter when using DexExpress Grid. I tried with Janus and the standard grid and it works. Perhaps there is a IBindingList property that is missing which DevExpress Grid requires. Here is my scenario:
I have an invoice screen which uses an entity collection component in order to bind the collection to a grid. When I double click a specific invoice, I open a dialog form in order to display en edit the corresponding line items, transfering the line item collection as a parameter for the dialog constructor. Then I assign it to the dialog's entity collection component and re-bind the grid....nothing shows up, and when I rebind the control by calling:
entityCollection1 = lineItemsCollection; // passed in the form's constructor parameter
gridcontrol.DataSource = null;
gridcontrol.DataSource = entityCollection1;
the collection gets cleared....
Any ideas?
Thanks
Alfredo