Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navigatedata moving 2 records at a time on mmNavigate.Ne
Message
 
To
04/11/2004 15:36:01
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00958239
Message ID:
00959404
Views:
11
Joe,

>I have built a form(CSIParameterForm) derived from mmBusinessForm that I am using as the basis for numerous other forms. This form is very similar to mmMaintenanceForm except it does not have tabs. Instead, the searching, list, and detail are all on the same form. Everything on the forms derived from CSIParameterForm seems to be working well except one thing. When I use the toolbar, which is on the main form, to navigate the data on the grid. The mmNavigate.Next and mmNavigate.Prior results in the focus moving 2 records in the specified direction instead of the expected 1.
>
>From what I can tell, the navigate method is being called twice, but I can't figure out where this is happening. When I add a button to the specified form and put some code behind this button to move to the next record; it seems to work as expected.
>
>I haven't included any code, because I don't see any areas in my forms or business objects that could be causing this problem and thus wouldn't know what to include. Any ideas are appreciated.

I recommend the follwing:

1. Open mmBusinessForm in your session of VS .NET
2. Set a breakpoint in the NavigateData() method
3. Run the application and check the Call Stack to see where the method is being called from.

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