﻿<?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?)  » PanelManager and the Form's Error Provider Behavior</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 20 May 2026 21:15:43 GMT</lastBuildDate><ttl>20</ttl><item><title>PanelManager and the Form's Error Provider Behavior</title><link>http://forum.strataframe.net/FindPost13616.aspx</link><description>I have table with a large number of columns that I'm&amp;nbsp;&lt;STRONG&gt;NOT&lt;/STRONG&gt; allowed to modify.&amp;nbsp; The columns can be categorized by patient, procedure, diagnosis, etc.&amp;nbsp; Rather than try and jam all the columns onto a single maintenance form I wanted to create a form that uses a panel manager with a page for each "category" of data.&amp;nbsp; I'd use a themedlinkmenu for navigation between the category page.&amp;nbsp; Before I design the form I have some questions on how the error provider will behave.&amp;nbsp; &lt;/P&gt;&lt;P&gt;When a Save is performed, how will the error provider which is defined at the form level react?&amp;nbsp; Will it show only the errors on the current (visible) page?&amp;nbsp; What if there are no errors on the current page but there are on other non-visible pages?&lt;/P&gt;&lt;P&gt;Thanks!!</description><pubDate>Wed, 23 Jan 2008 09:15:56 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: PanelManager and the Form's Error Provider Behavior</title><link>http://forum.strataframe.net/FindPost13669.aspx</link><description>No problem :)</description><pubDate>Wed, 23 Jan 2008 09:15:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: PanelManager and the Form's Error Provider Behavior</title><link>http://forum.strataframe.net/FindPost13663.aspx</link><description>I added calls to the InfoBox class after all unsuccessful&amp;nbsp;BO.Save() method calls.&amp;nbsp; Thanks!!</description><pubDate>Wed, 23 Jan 2008 07:42:39 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: PanelManager and the Form's Error Provider Behavior</title><link>http://forum.strataframe.net/FindPost13658.aspx</link><description>[quote]Is there something else I'm missing?[/quote]&lt;/P&gt;&lt;P&gt;The red InfoBox that appears is plumbed in through the BaseForm logic...I beleive.&amp;nbsp; So if you are calling the MyBO.Save() instead, then this may not appear.&amp;nbsp; However, if you call the forms Save() then you will probably see the message.&amp;nbsp; In any case, you can show this message yourself very easily as all of the values are given to you int he BusinessRulesChecked event.&amp;nbsp; So if you have he need, you can show this window yourself very easily by just calling the InfoBox class directly.</description><pubDate>Tue, 22 Jan 2008 17:28:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: PanelManager and the Form's Error Provider Behavior</title><link>http://forum.strataframe.net/FindPost13641.aspx</link><description>I have a standard SF form that has a PanelManager and ThemedLinkMenu control.&amp;nbsp; The ThemedLinkMenu control is used to navigate to different Pages on the PanelManager.&amp;nbsp; Each Page has its own custom toolstrip for editing, saving, navigation, etc.&amp;nbsp; When a save is performed, the ErrorProvider pops up an icon (with associated tooltip) next to each field in error but the Broken Rules Infobox does not appear.&amp;nbsp; The form's AutoShowBrokenRulesAlert is set to True.&amp;nbsp; Is there something else I'm missing?&lt;/P&gt;&lt;P&gt;THanks!!</description><pubDate>Tue, 22 Jan 2008 15:29:21 GMT</pubDate><dc:creator>fansanitis</dc:creator></item><item><title>RE: PanelManager and the Form's Error Provider Behavior</title><link>http://forum.strataframe.net/FindPost13628.aspx</link><description>I'm assuming that by "error provider" you mean the SF broken rules error provider. The error provider doesn't know or care if the control is visible.  The default behavior of the SF broken rules is to show an info message (red message that scrolls up from lower left corner of form) indicating that there are broken rules and setup the error provider (if you configured it that way) to show the icon and setting the error message that is shown as the tooltip on that icon. It also clears the errors when they are fixed (I believe during a save or undo). &lt;br&gt;
&lt;br&gt;
If you want to show a summary of those broken rules or activate the panel with the first broken rule, you'll need to handle the BusinessRulesChecked event on the BO and manage that yourself.</description><pubDate>Tue, 22 Jan 2008 12:17:05 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>