Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Popup Form
Message
From
27/08/2004 17:14:25
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Popup Form
Miscellaneous
Thread ID:
00937192
Message ID:
00937192
Views:
45
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
Map
View

Click here to load this message in the networking platform