Master / detail binding sources in different controls

Posts   
 
    
Posts: 1
Joined: 08-Dec-2009
# Posted on: 08-Dec-2009 13:27:58   

Hi,

I've this scenario :

I have two user controls with two binding sources in each one. The master is binded to a collection "Coll". The second is binded to the first with a DataMember property set to "DM".

When displaying data, all works perfectly but when I try to create a new child entity (in the second control), it is not automatically displayed by the bindingsource. (but it is created in the database).

I tried to put the two bindingsources in the first control and set the datamember at design time and every thing works fine.

What do I have to do to make things work at runtime or is it simply a bug ?

Best regards

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 09-Dec-2009 05:17:49   

Hi there. Some questions:

How are you creating the new child entity? Does you user control have a grid? and are you adding the row to that grid? LLBLGen runtime library version? Did you try refreshing the bindingsource?

David Elizondo | LLBLGen Support Team