Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding coming undone?
Message
 
To
14/02/2008 11:09:45
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01292601
Message ID:
01294141
Views:
10
Jeff,

>I have a Purchase Order form. POs table with POsItems as a child in a datagridview. When a change is made to the POsItems, I calculate the new subtotal and update the business object and it is displayed in the bound control. Everything works fine. After I edit the discount field control (also a bound control in the POs table), it seems the link between the control and the business object is broken. When I update the business object, the change is not reflected in the bound control. I thought I was doing it backwards, so I tried updating the control, but the business object does not update.
>
>Upon further investigation, it seems that if I make a change to any of the POs business object bound controls, changing the business object data is no longer reflected in the bound control.

I recommend setting a breakpoint in the bound control's StateChangeHandler() method to see if it ever receives notification. If so, you can step through and see what's happening.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform