">
I have tried updating the framework (1.6.6 released version), then I tried updating to the most recent DevEx version (8.2.4). I have removed the grid and replaced it with another instance. All attempts have resulted in the same behavior.
Does anyone have any idea why the XtraGrid is causing this error to popup? Btw, I can answer 'No' and continue using the form. I'd really like to use the XtraGrid rather than the EnhancedList (which is nice, but lacks a couple of necessary features).
Thanks for your help!Bill
In case the image upload fails again, it states, "Exception has been thrown by the target of an invocation. Do you want to correct the value?" The options are "Yes" and "No".
Now, I have an error I can work with...one of the columns referenced does not belong to the table. It is a custom property.
This is the point where things get really, really fuzzy for me.
If I have a grid that is using a BBS to represent the data. And I have a BO that is pulling a subset of the original table (include some fields, exclude others) with additional fields for the presentation (field which are defined as custom properties in the BO). And I match a grid up to the BBS and select only the certain fields that I want displayed
Why would any other field not included in the query or the BO or the underlying datatable be accessed by the grid at any time? This just doesn't make sense.
Thought I had a handle on the custom field thing, but I guess I don't.
Bill
Should I be checking on the viability of this.CurrentRow["LastInvQty"] before assigning it to a variable? Or, just don't assign it? Like this:
The second option seems to work...I will test a bit more.
Thanks,Bill
I scrapped the BBS and decided to use a dataset derived from the BO, instead. That has resolved the problem entirely.
Sorry to bring this up again...but I am now working on a window where I really need a BBS to interact with a DevExpress DataGrid. To solve the previous problem, I resorted to a dataset (view only). Now, I need to update the data and I would really like to take advantage of the existing plumbing. Can you provide any direction on this?