StrataFrame Forum

Problem with the save button (BBS + DevExpress Grid)

http://forum.strataframe.net/Topic26971.aspx

By Eduardo - 4/22/2010

I Have a Maintenance form that uses the Devexpress grid and do the integration between my BO and the grid through a BBS (so far, nothing special).

When I manipulate a record in my grid and click Save, the Save button is still enabled, but querying the database, the information has already been written.
If I click on Save again, the operation is done on a duplicate, apparently there is nothing wrong in the configuration of the grid or the BO (and BBS).


Is there any way around this problem, or is there something I'm forgetting to do?
Or Still, there is a way of detecting what should be the correct state of BO (or if necessary, manually force it to be a particular state, even though I think that this is not the best practice)?

Tks!!!

By Greg McGuffey - 4/22/2010

Couldn't the Dirty event (can't remember it's exact name) be used to manage the save button's state?



(OK, the dirty, after save, and navigated events... )