<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Control setters are being called too many times.</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Control setters are being called too many times.</description>
  <pubDate>Tue, 14 Apr 2026 14:18:28 -700</pubDate>
  <lastBuildDate>Fri, 07 Mar 2008 09:33:49 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=702</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Control setters are being called too many times. : I think the important thing to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2659#2659</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 702<br /><strong>Posted:</strong> 07-Mar-2008 at 9:33am<br /><br /><P>I think the important thing to understand here is that this behavior is just the way that binding works in WinForms.&nbsp; It is not something that DevForce can change,</P>]]>
   </description>
   <pubDate>Fri, 07 Mar 2008 09:33:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2659#2659</guid>
  </item> 
  <item>
   <title>Control setters are being called too many times. :  Originally posted by davidklitzkeI...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2647#2647</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=217" rel="nofollow">banzaii</a><br /><strong>Subject:</strong> 702<br /><strong>Posted:</strong> 05-Mar-2008 at 10:27pm<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by davidklitzke</strong></em><br /><br />I don't know if this behavior can be changed.&nbsp; In some cases, setting a property on one field may change the propery of another field.&nbsp; For example, changing&nbsp;"BirthDate" will also change "Age".</td></tr></table> <DIV>&nbsp;</DIV><DIV>No! the properties are not related to each other...</DIV><DIV>Infact, It goes to the value setter of each control that is bind on that view. </DIV><DIV>&nbsp;</DIV><DIV>for e.g. my Amount doesnot have any relation with what is the Father Name of the entity, still It will go to the value setter of the FatherName&nbsp;control. </DIV><DIV>&nbsp;</DIV><DIV>One thing I would like to clear, It doesNOT go the Business Model for re-setting properties, It ONLY goes to the Control's Value setter, may be this is some behaviour used for refreshing controls. </DIV><DIV>&nbsp;</DIV><DIV><strong>But if this can be done on related properties/controls only?</strong></DIV>]]>
   </description>
   <pubDate>Wed, 05 Mar 2008 22:27:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2647#2647</guid>
  </item> 
  <item>
   <title>Control setters are being called too many times. : I don&amp;#039;t know if this behavior...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2631#2631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 702<br /><strong>Posted:</strong> 03-Mar-2008 at 11:22am<br /><br />I don't know if this behavior can be changed.&nbsp; In some cases, setting a property on one field may change the propery of another field.&nbsp; For example, changing&nbsp;"BirthDate" will also change "Age".]]>
   </description>
   <pubDate>Mon, 03 Mar 2008 11:22:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2631#2631</guid>
  </item> 
  <item>
   <title>Control setters are being called too many times. : Hi, David! Can you ensure me...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2624#2624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=217" rel="nofollow">banzaii</a><br /><strong>Subject:</strong> 702<br /><strong>Posted:</strong> 28-Feb-2008 at 9:54am<br /><br /><P>Hi, David!</P><P>Can you ensure me the behavior...</P><P>Behaviour</P><P>MyModelEntity has 5 Properties..</P><P>5 Different Controls are bind to that Entity. The controls use <FONT color=#2b91af size=2>ControlDataBinder, <FONT color=#2b91af size=2>UltraComboEditorDataBinder.</P><DIV></DIV><FONT color=#000000>As soon as my Property 'A' changes, the Setter of the Value property of respectedly bind control get a call, fine.<DIV></DIV>But!!! all other control's "Setter" of "Value" property get a call too even though their Property isn't changed.<DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>I check/uncheck a bool property, it fires the Value Setters of Combo, Textbox, Checkbox, and etc.</DIV><FONT size=2><P><EM>controlBindingDescriptor.DataSourceUpdateMode = </EM></FONT><FONT color=#2b91af size=2><EM>DataSourceUpdateMode</EM></FONT><FONT size=2><EM>.OnPropertyChanged;</EM></P><DIV></DIV><P>Is it because of this PropertyChanged? Still, can there be a check of Property? (Fire the setter of the control that is bind to the currently changed property only. And not the controls, of either the same type or different, with different properties).</P><DIV>Ideablade 3.6.0.2</DIV><DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV><DIV></DIV>Thanks and Regards.</DIV><DIV></DIV>HumaiR Bhagat.</FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 28 Feb 2008 09:54:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2624#2624</guid>
  </item> 
  <item>
   <title>Control setters are being called too many times. : As I understand, this is a characteristic...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2607#2607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 702<br /><strong>Posted:</strong> 27-Feb-2008 at 9:16am<br /><br />As I understand, this is a characteristic of UI binding, and is not specific to DevForce.&nbsp; If you can show us that DevForce behaves worse than native .NET binding, we will be happy to look at it.]]>
   </description>
   <pubDate>Wed, 27 Feb 2008 09:16:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2607#2607</guid>
  </item> 
  <item>
   <title>Control setters are being called too many times. : Hi.  When I change some text...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2606#2606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=258" rel="nofollow">fastianumair</a><br /><strong>Subject:</strong> 702<br /><strong>Posted:</strong> 27-Feb-2008 at 7:00am<br /><br />Hi.<DIV>&nbsp;</DIV><DIV>When I change some text in a textbox, the setter of datamember fields of other controls on the same form are being called so many times. Sometimes 2, 3 or 4 times. I tried to trace and concluded that if the property changes, so the datasource changes. It binds the controls of the form again. But if it is so, then it should bind all the controls only once, at most. Why does it call the setter of datamember field of all the controls on the form; so many times? </DIV><DIV>&nbsp;</DIV><DIV>How can this be prevented?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Additional Information:</DIV><DIV>&nbsp;</DIV><DIV>Using control library, Infragistic.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>Umair.</DIV>]]>
   </description>
   <pubDate>Wed, 27 Feb 2008 07:00:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=702&amp;PID=2606#2606</guid>
  </item> 
 </channel>
</rss>