BusinessBindingSource


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K

I’m using BusinessBindingSource as a data source for Active Reports. Everything works fine as long as the Business Object that I’m assigning to BusinessBindingSource does not contain any custom properties. If I add a custom property, Active Reports does not map the report fields correctly.  This happens even if the custom properties are not being mapped to an Active Reports fields.  Just having the custom properties defined in the BO causes Active Reports to incorrectly map data. I’ve added the custom property descriptors using the GetCustomBindablePropertyDescriptors override and the BO works fine when binding to Windows forms. It appears that something is not working correctly when the custom properties are handeled by BusinessBindingSource.

-Larry

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Well, I will have to test this.  But basically what will happen is that the scalar method will be executed once for every row since the IList interface basically emits its own BO for each row so the strong-typing works properly.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search