Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting the current row
Message
 
To
29/07/2003 12:24:19
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00814578
Message ID:
00814611
Views:
10
>I have a problem making the newly added row the currently selected one in the form. When I click the "New" button, current row position does not change. The only indication of the new row is the business object's DataRow property. But, unfortunatly, the binding manager uses the default data view of the table, and I could not determine the correct position just from the data row. Any suggesions?

Try adding this to the button's click event handler:
this.NavigateData(mmNavigate.Last, false);
This is the code that is used for the mmMaintenaceForm's New button.

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