ChildFormDialog


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
I've run into an issue with the bound controls collection when a business object is passed through more than one level of ChildFormDialogs. To simplify troubleshooting I did the following. On form1 I filled a business object, BO1; its not bound to any controls on form1. Form1 one calls form2 using a ChildFormDialog passing BO1. On form2 BO1 is bound to four controls and BO1.BoundControls.Count = 4. Form2 calls form3 using a ChildFormDialog again passing BO1, the object is not bound to any controls on form3. When form3 is closed and control returns to form2, BO1.BoundControls reflects the object's bound controls collection on form1 (count = 0), not form2 (count = 4).

-Larry

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