Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the current row
Message
 
À
29/07/2003 12:24:19
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00814578
Message ID:
00814611
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform