<?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 : &quot;DataSourceUpdateMode = OnPropertyChanged&quot; does not work for related properties</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : &quot;DataSourceUpdateMode = OnPropertyChanged&quot; does not work for related properties</description>
  <pubDate>Sat, 11 Apr 2026 23:56:17 -700</pubDate>
  <lastBuildDate>Thu, 07 Feb 2008 15:55:58 -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=579</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>&quot;DataSourceUpdateMode = OnPropertyChanged&quot; does not work for related properties : I don&amp;#039;t suppose you have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=579&amp;PID=2523#2523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=28" rel="nofollow">Miszou</a><br /><strong>Subject:</strong> 579<br /><strong>Posted:</strong> 07-Feb-2008 at 3:55pm<br /><br />I don't suppose you have a working example for .NET controls?<DIV>&nbsp;</DIV><DIV>I can't test the version you attached as I am not using Infragistics controls. However, it looks to be almost identical to what I am doing, which does not work.</DIV><DIV>&nbsp;</DIV><DIV>As I said in my initial post, this works:</DIV><DIV>&nbsp;</DIV><DIV><DIV><FONT color=#0000ff size=2>this</FONT><FONT size=2>.CBM.Descriptors.Get(</FONT><FONT color=#a31515 size=2>"PropertyA"</FONT><FONT size=2>).DataSourceUpdateMode = </FONT><FONT color=#2b91af size=2>DataSourceUpdateMode</FONT><FONT size=2>.<SPAN =highlight>OnPropertyChanged</SPAN>;</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>but this code does not:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><DIV><FONT color=#0000ff size=2>this</FONT><FONT size=2>.CBM.Descriptors.Get(</FONT><FONT color=#a31515 size=2>"Table.PropertyB"</FONT><FONT size=2>).DataSourceUpdateMode = </FONT><FONT color=#2b91af size=2>DataSourceUpdateMode</FONT><FONT size=2>.<SPAN =highlight>OnPropertyChanged</SPAN>;</FONT></DIV><DIV>&nbsp;</DIV></FONT></DIV></DIV><DIV>I am simply trying to get notification via the "<FONT size=2>CurrentItemChanged</FONT>" event of the Binding Source whenever the user changes the contents of a text box.</DIV><DIV>&nbsp;</DIV><DIV>Thank you.</DIV>]]>
   </description>
   <pubDate>Thu, 07 Feb 2008 15:55:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=579&amp;PID=2523#2523</guid>
  </item> 
  <item>
   <title>&quot;DataSourceUpdateMode = OnPropertyChanged&quot; does not work for related properties : Here is how to do it with an Infragistics...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=579&amp;PID=2096#2096</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> 579<br /><strong>Posted:</strong> 05-Dec-2007 at 11:43am<br /><br />Here is how to do it with an Infragistics UltraCombobox:<DIV>&nbsp;</DIV><DIV><a href="http://www.ideablade.com/forum/uploads/20071205_143906_ComboBox.zip" target="_blank">uploads/20071205_143906_ComboBox.zip</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="http://www.ideablade.com/forum/uploads/20071205_144039_DataSourceUpdat.JPG" height="430" width="512" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV>&nbsp;</DIV></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 05 Dec 2007 11:43:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=579&amp;PID=2096#2096</guid>
  </item> 
  <item>
   <title>&quot;DataSourceUpdateMode = OnPropertyChanged&quot; does not work for related properties : I am trying to set the &amp;#034;DataSourceUpdateMode...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=579&amp;PID=2082#2082</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=28" rel="nofollow">Miszou</a><br /><strong>Subject:</strong> 579<br /><strong>Posted:</strong> 04-Dec-2007 at 12:38pm<br /><br /><P>I am trying to set the "<FONT size=2>DataSourceUpdateMode = OnPropertyChanged" for a column that is managed by Control Binding Manager, but I can't seem to get it to work at all.</P><DIV></DIV><DIV>It works for simple columns that are a part of the main entity, but not for any columns in other entities that are joined in the "Configure DataBindings" dialog.</DIV><DIV>&nbsp;</DIV><DIV>ie.&nbsp;I can properly set the DataSourceUpdateMode for fields in the parent entity, but it doesn't seem to work for fields in related entities. for example, the following code works:</DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2>this</FONT><FONT size=2>.CBM.Descriptors.Get(</FONT><FONT color=#a31515 size=2>"Property"</FONT><FONT size=2>).DataSourceUpdateMode = </FONT><FONT color=#2b91af size=2>DataSourceUpdateMode</FONT><FONT size=2>.OnPropertyChanged;</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>but this code does not:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2><DIV><FONT color=#0000ff size=2>this</FONT><FONT size=2>.CBM.Descriptors.Get(</FONT><FONT color=#a31515 size=2>"Table.Property"</FONT><FONT size=2>).DataSourceUpdateMode = </FONT><FONT color=#2b91af size=2>DataSourceUpdateMode</FONT><FONT size=2>.OnPropertyChanged;</FONT></DIV><DIV>&nbsp;</DIV><DIV>It also does not matter if I use the overloaded "Get" method and pass references to the actual controls -&nbsp;if the control is bound to a property through a relation, it will not work.</DIV><DIV>&nbsp;</DIV><DIV>I have tried adding "TextChanged" handlers to the necessary controls and calling Validate on the object, as well as calling ForcePropertyChanged, but neither of these solutions worked correctly.</DIV><DIV>&nbsp;</DIV><DIV>Is there some trick to getting these controls to raise a "CurrentItemChanged" event?</DIV><DIV>&nbsp;</DIV></DIV></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 12:38:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=579&amp;PID=2082#2082</guid>
  </item> 
 </channel>
</rss>