﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Business Binding Source - Undo Changes</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 17 Jun 2026 09:47:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Binding Source - Undo Changes</title><link>http://forum.strataframe.net/FindPost7319.aspx</link><description>I have a form with a maintenance form toolstrip and infragistics ultragrid. I am also using a businessbindingsource.&lt;/P&gt;&lt;P&gt;Everything works fine except for the undo button on the toolstrip.&amp;nbsp;When I edit something on the grid and click undo, the value on the grid does not change, however the business object is correct.&lt;/P&gt;&lt;P&gt;I took a look at your new sample program in 1.6 'BusinessBindingSourceExample' and the undo seems to work fine in this example. I looked at the click event and&amp;nbsp;discovered that all you are doing is using 'Undo()', which I assume is what is happening behind the scenes when you click on the undo button on the toolstrip.&lt;/P&gt;&lt;P&gt;As a test, I&amp;nbsp;added a button on my form and executed 'Undo()' in the click event.&amp;nbsp; This worked fine, so my question is why&amp;nbsp;is the undo button on the toolstrip not working properly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Tue, 06 Mar 2007 09:29:53 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Business Binding Source - Undo Changes</title><link>http://forum.strataframe.net/FindPost7325.aspx</link><description>Excellent :)</description><pubDate>Tue, 06 Mar 2007 09:29:53 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Binding Source - Undo Changes</title><link>http://forum.strataframe.net/FindPost7324.aspx</link><description>Thanks Ben, that was my problem. I added some code in the before undo event to end the edit on the grid and it worked fine. ;)</description><pubDate>Tue, 06 Mar 2007 09:21:19 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Business Binding Source - Undo Changes</title><link>http://forum.strataframe.net/FindPost7323.aspx</link><description>Most likely, it has something to do with the grid's row still being in edit mode when you click the undo button.&amp;nbsp; When you edit the record, the changes within the grid don't get copied back to the business object until the row loses focus.&amp;nbsp; Try editing the record and then leaving the row and undoing it.</description><pubDate>Tue, 06 Mar 2007 09:14:06 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>