﻿<?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?)  » Refreshing ErrorProviders</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:35:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Refreshing ErrorProviders</title><link>http://forum.strataframe.net/FindPost32731.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have a form to maintain Quotes that uses a combobox to show status values for the Quote. I want to be able to prevent the users from selecting a specific value from the combobox in some circumstances that I cannot control through the CheckRulesOnBusiness object. If I add a broken rule to a business object other than through the CheckRulesOnCurrentRow is there a way for me to refresh the error providers on the form to reflect the broken rules?&lt;br/&gt;&lt;br/&gt;I realise I can do this manually via SetErrorProvider but I am looking for a cleaner option. Using SetErrorProvider manually requires that I call ClearErrorProvider() in the BeforeUndo()&amp;nbsp; to clear the&amp;nbsp;manually set error providers.&lt;br/&gt;&lt;br/&gt;TIA,&lt;br/&gt;&lt;br/&gt;Andy&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sat, 25 Oct 2014 00:11:31 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: Refreshing ErrorProviders</title><link>http://forum.strataframe.net/FindPost32735.aspx</link><description>Thanks Edhy,&lt;br/&gt;&lt;br/&gt;That is what I ended up doing.&lt;br/&gt;&lt;br/&gt;I would still like to&amp;nbsp;know though if it is possible to instigate a&amp;nbsp;refresh of the error providers on the form via a call to a Strataframe method.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&lt;br/&gt;&lt;br/&gt;Andy</description><pubDate>Sat, 25 Oct 2014 00:11:31 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: Refreshing ErrorProviders</title><link>http://forum.strataframe.net/FindPost32732.aspx</link><description>Hi Andrew,&lt;br/&gt;&lt;br/&gt;Would it be possible to construct the proper SQL statement to just show the values user can choose from the combobox instead of showing a broken rule?</description><pubDate>Fri, 24 Oct 2014 13:39:18 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>