.Save() Locking up Program


Author
Message
Brad Vick
Brad Vick
StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)StrataFrame Novice (51 reputation)
Group: Forum Members
Posts: 33, Visits: 88




I have a DevExpress grid that is bound to a BusinessBindingSource. The problem I am having is that if the business object behind the bindingsource is blank (current row index -1) coming into the program and I add a new row to the grid and execute a .save() on the business object, the .save() never returns control back to the pgm. I don't get an error, just hangs up. This does not happen on an edit, or if the grid already has a row in it and I add a new one. Only happens on a blank grid. Also the record gets added to the database when this happens. Any assistance on debugging this issue would be greatly appreciated, I am probably missing some small detail.
Reply
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
I have developed my own method of knowing about all the updates that are released ... BigGrin
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search