Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Biz object navigation fails
Versions des environnements
Can anyone think of why Me.grdMain.NavigateData(mmNavigate.Last) would fail? It just doesn't move the grid to the last record. I don't get any errors out or anything.
I have a parent child relation ship with a form and a user control. The parent is on the form and I made a user control that has all the child controls for the child object on it. I have a new button on it that adds a row to the grid and child biz object via a
bizUserDepartment.NewRow(New UserDepartmentDefaults)
call.
This works and adds a new row, but it isn't selected in the grid. I called NavigateData to move it to the last row, which is the new one, but it doesn't work. Focus stays on the first row in the grid.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement