General information
Category:
The Mere Mortals .NET Framework
Can one of you experienced MM.NET folks help me out here?
I have a form (a mmBusinessForm subclass) instance with an mmDataGrid bound to a child business object. I want to be able to edit the data in the rows of this grid using a popup form. Next to the grid I have 3 buttons: a "New" button, an "Edit" button, and a "Delete" button. On the Click event method of the Edit button I create a new "Popup" form instance (also a subclass of mmBusinessForm) passing the business object to which the child grid is bound in the constructor. Editing controls on the popup form are also bound to this business object. I have at least 2 problems:
1) When the controls instantiate they display data from the first row in the dataset no matter which is the current row in the grid. How does one synchronize these?
2) When I edit the data in the controls it does not seem to update the business object. The edits are not reflected in the child grid. This is true even if I pass the business object to the popup form constructor by reference.
Can someone please give me a pointer here?
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only