<?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 : Bindings don&#039;t seem to update..?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Bindings don&#039;t seem to update..?</description>
  <pubDate>Tue, 12 May 2026 22:42:02 -700</pubDate>
  <lastBuildDate>Fri, 20 Apr 2012 02:43:16 -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=3394</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>Bindings don&#039;t seem to update..? : Yup, nail-on-head there Denis!...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13366#13366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1418" rel="nofollow">Siyfion</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 20-Apr-2012 at 2:43am<br /><br />Yup, nail-on-head there Denis! After changing the edmx diagram to ensure that the StoreGeneratedPattern was set to None, and adding the "dummy" entity to the EntityManager, I can confirm that it works as-expected! ;)]]>
   </description>
   <pubDate>Fri, 20 Apr 2012 02:43:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13366#13366</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? : Thanks for clearing that up Denis,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13365#13365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1418" rel="nofollow">Siyfion</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 20-Apr-2012 at 1:24am<br /><br />Thanks for clearing that up Denis, so you're saying that if I attach the entity to the EntityManager before I bind to it, it should get the notification changes? I'll give it a go!<div><br></div><div>Also, thanks for the heads up on the Id property, I have no idea how I've managed that, it's certainly not a setting that I've changed myself!</div>]]>
   </description>
   <pubDate>Fri, 20 Apr 2012 01:24:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13365#13365</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? :  Hi Simon (and Marcel),I was...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13358#13358</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 19-Apr-2012 at 1:22pm<br /><br /><div>Hi Simon (and Marcel),</div><div><br></div><div>I was almost sure this was a bug until I noticed that you haven't attached (added) the entity to the EntityManager. The EntityManager is the one that's responsible for firing the various property change notification. Sorry for giving out the wrong info.</div><div><br></div><div>One more note is that I noticed your MatrixEntity has an Id that is a foreign key as well as a primary key and it's set to StoreGeneratedPattern.Identity. You need to set this to StoreGeneratedPattern.None as the EntityManager will not generate a temp id for a foreign key and it will throw an exception upon adding MatrixEntity.</div><span style="font-size:10px"><br /><br />Edited by DenisK - 19-Apr-2012 at 1:25pm</span>]]>
   </description>
   <pubDate>Thu, 19 Apr 2012 13:22:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13358#13358</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? :   Simon,That is correct. Denis,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13353#13353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 19-Apr-2012 at 11:54am<br /><br />Simon,<div>That is correct. Denis, I think there's a bug somewhere. </div>]]>
   </description>
   <pubDate>Thu, 19 Apr 2012 11:54:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13353#13353</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? : I thought that the entities /...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13345#13345</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1418" rel="nofollow">Siyfion</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 19-Apr-2012 at 1:13am<br /><br />I thought that the entities / entity properties in DevForce already had some form of change notifications built in? Otherwise if you ever bind a view directly to an entity you'll have to add the NotifyOfPropertyChanged() into the generated code for every property..?]]>
   </description>
   <pubDate>Thu, 19 Apr 2012 01:13:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13345#13345</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? : Hi Siyfion,John Bloom is correct....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13341#13341</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 18-Apr-2012 at 5:56pm<br /><br />Hi Siyfion,<div><br></div><div>John Bloom is correct. My knowledge of binding is limited but the change notification works if I modify a few things as follows.</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>using Caliburn.Micro;</div><div><div>public abstract class VisibleObjectEntityViewModel : Screen {</div><div>}</div></div><div><br></div><div><div>public void SetBold() {</div><div>&nbsp; &nbsp;_entity.FontWeight = FontWeights.Bold.ToOpenTypeWeight();</div><div>&nbsp; &nbsp;NotifyOfPropertyChange("Entity");</div><div>}</div></div><div></pre></td></tr></table></div><div><br></div><div>Hope this helps.</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 17:56:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13341#13341</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? :   I got the link to work now....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13339#13339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 18-Apr-2012 at 2:33pm<br /><br />I got the link to work now. I didnt have a way to view rar files so it was saving it as an xml.]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 14:33:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13339#13339</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? :   I cant get the link to your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13337#13337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 18-Apr-2012 at 2:21pm<br /><br />I cant get the link to your project to work.<div>&nbsp;</div><div>Even though I cant see your project I would guess that you are missing a NotifyOfPropertyChanged() call. 9 times out of 10 this is what it is for me. Also if the view is setting a value back to the vm you need to have "Mode = TwoWay" in your binding. I cant remember what it is by default but I think it is just one way binding.</div><div>&nbsp;</div><div>From the previous discussion it might also be that your valueconverter is not being set up right. You should be able to put a breakpoint in your converter and see what it is doing to make sure that it is updating the binding correctly.</div>]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 14:21:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13337#13337</guid>
  </item> 
  <item>
   <title>Bindings don&#039;t seem to update..? : Further to my original discussion...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13334#13334</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1418" rel="nofollow">Siyfion</a><br /><strong>Subject:</strong> 3394<br /><strong>Posted:</strong> 18-Apr-2012 at 9:24am<br /><br />Further to my original discussion point here:&nbsp;<a href="http://www.ideablade.com/forum/forum_posts.asp?TID=3377&amp;title=binding-to-visual-&#111;bjects-in-the-model" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=3377&amp;title=binding-to-visual-objects-in-the-model</a><div><br></div><div>I have been attempting to try out a few of the suggestions contained within that thread and the links from it. However, I am struggling when it comes to getting the bindings to work correctly. I have a right click menu on the TextBlockEntity View that triggers a MakeBold() function in the ViewModel. This successfully updates the entity's value, but the View is never notified of the change...</div><div><br></div><div>The same project is available here:&nbsp;<a href="uploads/1418/VisualEntityMappingTest.rar" target="_blank">uploads/1418/VisualEntityMappingTest.rar</a></div><div><br></div><div>If someone could take a look and point me in the right direction, it'd be much&nbsp;appreciated!</div>]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 09:24:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3394&amp;PID=13334#13334</guid>
  </item> 
 </channel>
</rss>