I have the grid attached to a BBS and is calling a Childform. As I type in the controls, the BO seems to be moving through the records as you can see from the attached zipped flash demo.
Michael
Edit Code from Calling Form
Private Sub cmdEdit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdEdit.Click
'Get and Set the Company ID from the Row being called
aBOMain.SeekToPrimaryKey(
aBOMain.Undo(BusinessUndoType.CurrentRowOnly)
I will try to put something together. I do not think that I am doing anything special?
Could the execution of InitializeRow be because the BO on the parent and child are the same? As I am entering data in editmode (before save) in the Childform, the parentform BO seems to be trying to populate as well?
The problem seems to be that the Grid's InitializeRow seems to not only fire when the grid initially(as it should) loads, it also fires when I call a BO.ADD and load of the childform? It seems to get called when I am in edit mode as well? I set the debugger and discovered that it fires while I am entering data in fields on the subform?
SF = Latest Version (Beta)
Ultragrid 2008.1
VS 2008