Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
If you are trying to reference the business object from within an event handler of the grid, chances are good that you're using the wrong BO reference. The BusinessBindingSource wraps the business object and returns a new instance of the business object for each record requested by the BBS (because most grids store off the refence to the list object, and if they were all the same, it would cause a problem). So, if you are checking broken rules, or trying to add a broken rule from within your grid, you'll need to use the BBS.BusinessObject reference, because that is the reference to the business object that has the bound controls.
|