﻿<?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 » WinForms (How do I?)  » Bug with Toolstrip buttons</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 10 Sep 2026 23:14:21 GMT</lastBuildDate><ttl>20</ttl><item><title>Bug with Toolstrip buttons</title><link>http://forum.strataframe.net/FindPost7348.aspx</link><description>Hello all,&lt;/P&gt;&lt;P&gt;There is a minor bug in the way the toolstrip buttons get enabled/disabled.&amp;nbsp; To recreate the issue follow these steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Compile and run the SampleCRMApplication&lt;/LI&gt;&lt;LI&gt;Launch 2 Customer Maintain Forms&lt;/LI&gt;&lt;LI&gt;Click&amp;nbsp;Browse and select the same&amp;nbsp;data sets on both forms&lt;/LI&gt;&lt;LI&gt;With the maintenance forms open, change the same record&amp;nbsp;on both (IE.&amp;nbsp;Change Catherine Abel on form 1 to Katherine Abel, Form 2 change&amp;nbsp;her first name to Kathy)&lt;/LI&gt;&lt;LI&gt;Save on Form 1.&amp;nbsp; No issues&lt;/LI&gt;&lt;LI&gt;Save on Form 2&lt;/LI&gt;&lt;LI&gt;You are prompted with an optimistic&amp;nbsp;concurrency error window which is correct&lt;/LI&gt;&lt;LI&gt;Click the Cancel Save button&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Notice now on&amp;nbsp;Form 2&amp;nbsp;the Browse, New, Edit, Delete, Save and Undo buttons have been enabled.&amp;nbsp; Shouldn't the Cancel Save&amp;nbsp;put the user back to a "Save/Undo" state only?&lt;/P&gt;&lt;P&gt;Ben Kim&lt;BR&gt;&amp;nbsp;</description><pubDate>Thu, 08 Mar 2007 09:42:38 GMT</pubDate><dc:creator>Ben Kim</dc:creator></item><item><title>RE: Bug with Toolstrip buttons</title><link>http://forum.strataframe.net/FindPost7357.aspx</link><description>No, we were able to reproduce it on this end... when you cancel the saving through the concurrency exception event, the Save() method does not properly return a value other than Success, so the business object's editing state is set back to Idle, causing the controls to disable and all of those menu items to enable, but the business object is still dirty, so the Save and Undo are enabled as well.&amp;nbsp; We changed the DataLayer class to prevent Success from being returned when the save is canceled by that form.</description><pubDate>Thu, 08 Mar 2007 09:42:38 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Bug with Toolstrip buttons</title><link>http://forum.strataframe.net/FindPost7351.aspx</link><description>Can you please confirm this issue?&amp;nbsp; I want to ensure it has nothing to do with my environment. ;)&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Ben</description><pubDate>Thu, 08 Mar 2007 07:35:17 GMT</pubDate><dc:creator>Ben Kim</dc:creator></item></channel></rss>