Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmMoverControl question
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00873013
Message ID:
00873240
Views:
11
Alan,

>I have an mmBusinessForm that has an mmDataGrid and an edit button (among other things). I am using mmBusinessForm because it is called from a parent form (mmMaintenanceForm). When the user clicks the edit button, another child form opens containing a mmMoverControl. I am passing a reference to the business object that controls the mmDataGrid to the child form to control the selected list and I am instantiating another business object on the child form to control the available list. All of the business objects seem to be working fine and the correct data is there but the lists are not getting refreshed (they are empty).
>
>I have overridden the RefreshLists event as described in the Dev guide but that code does not run. I tried calling CallStateChange(mmBusinessState.Bind) in the parent business object but that does not work. Is there any way I can call the RefreshLists method directly?

Try calling CallStateChange() method on the parent business object (the object that controls the DataGrid). For example:
oBizObj.CallStateChange(mmBusinessState.Retrieved()
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
Next
Reply
Map
View

Click here to load this message in the networking platform