﻿<?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 » Issues  » Error in RefreshBoundControls</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 02:20:19 GMT</lastBuildDate><ttl>20</ttl><item><title>Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost25725.aspx</link><description>I just updated to the 1.7.0.6 and screens that have the StrataFrame UserControl on them with BOTranslations to the parent form started to get errors on close. I debugged it in the StrataFrame code to the RefreshBoundControls method. It was that the _BoundControls variable was already nothing in the dispose method of the business object on the user control. The fix is simple (wrap the code checking for IsNot Nothing), but it means you now have a custom StrataFrame.dll.... I have no way of proving that it isn't something I'm doing in my dispose methods on that user control because it is very complex with several grids. So, I'm just posting it and if others have this issue, they could comment on it and say that it is an issue for everyone.&lt;br&gt;
&lt;br&gt;
        Private Sub RefreshBoundControls()&lt;br&gt;
            '-- Establish Locals&lt;br&gt;
            Dim loControl As IBusinessBindable&lt;br&gt;
            Dim llHasData As Boolean = (_CurrentDataTable IsNot Nothing) AndAlso (Me.Count &gt; 0)&lt;br&gt;
&lt;br&gt;
            '-- Cycle through all bound controls&lt;br&gt;
            [b]If _BoundControls IsNot Nothing Then[/b]&lt;br&gt;
                  For Each loControl In _BoundControls&lt;br&gt;
                        RefreshControl(loControl, llHasData)&lt;br&gt;
                  Next&lt;br&gt;
            [b]End If[/b]&lt;br&gt;
        End Sub</description><pubDate>Tue, 30 Mar 2010 11:00:49 GMT</pubDate><dc:creator>Scott Bressette</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost26692.aspx</link><description>Thanks Dustin, I am ready to test...:hehe:</description><pubDate>Tue, 30 Mar 2010 11:00:49 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost26691.aspx</link><description>Edhy,&lt;/P&gt;&lt;P&gt;The source is ready for download in the My Account area!</description><pubDate>Tue, 30 Mar 2010 08:39:50 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost26686.aspx</link><description>Thanks Dustin,&lt;br&gt;
&lt;br&gt;
I asked because I am using the Infragistics and need to build the source with the version I have before I can use any update.</description><pubDate>Mon, 29 Mar 2010 13:59:21 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost26685.aspx</link><description>We'll be releasing it this afternoon. Our build server is tied up at the moment working on some tests for our medical app. As soon as it is freed up, we'll get the source package built and posted to the downloads section. :)</description><pubDate>Mon, 29 Mar 2010 13:43:47 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost26682.aspx</link><description>Hi Dustin,&lt;br&gt;
&lt;br&gt;
When will you be posting the SF source code for v1.7.0.7?</description><pubDate>Mon, 29 Mar 2010 12:21:26 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost26681.aspx</link><description>FYI, the update to fix this issue has been released and is available in the MyAccount area under the "Application Framework - Beta" category. See the detail post &lt;A href="http://forum.strataframe.net/Topic26680-22-1.aspx"&gt;here&lt;/A&gt; for more info.</description><pubDate>Mon, 29 Mar 2010 11:42:03 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost25970.aspx</link><description>Fixed and in the next update. ;) Thanks, guys.</description><pubDate>Fri, 12 Feb 2010 10:56:13 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost25948.aspx</link><description>Thanks, I will verify this in the morning.&amp;nbsp; I will make sure that it gets in the update! :)</description><pubDate>Thu, 11 Feb 2010 22:09:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost25945.aspx</link><description>I'd like to confirm that this is a problem for me as well.&amp;nbsp; &lt;BR&gt;Today I upgraded to 1.7.&amp;nbsp; After the upgrade, any forms in my application with BO&amp;nbsp;translations&amp;nbsp;were erroring when closing.&lt;/P&gt;&lt;P&gt;Scott's solution did fix the problem.&lt;/P&gt;&lt;P&gt;- Alan</description><pubDate>Thu, 11 Feb 2010 14:25:17 GMT</pubDate><dc:creator>Alan Jones</dc:creator></item><item><title>RE: Error in RefreshBoundControls</title><link>http://forum.strataframe.net/FindPost25727.aspx</link><description>Send me a quick sample if possible so that I can verify this and I will post an immediate update for you once I can reproduce this to make sure that there are not any other downstream issues.</description><pubDate>Tue, 02 Feb 2010 09:46:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>