﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - View not being updated from MVVM</title><link>http://www.intersoftsolutions.com/Community/ClientUI/View-not-being-updated-from-MVVM/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>View not being updated from MVVM</title><link>http://www.intersoftsolutions.com/Community/ClientUI/View-not-being-updated-from-MVVM/</link><pubDate>Sun, 14 Oct 2012 23:56:49 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I’m using the Desktop Host sample of ClientUI.Sample project. When viewed in browser, the url will looks like following: &lt;em&gt;http://localhost:7373/Default.html#/WindowControls/UXDesktop&lt;/em&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Next, the Contact.cs model class is modified based on the snippet code shown in your post on October 12, 2012 7:17 AM. Save all the changes, rebuild the project, and view the sample in browser.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Below is the step-by-step:&lt;/span&gt;&lt;/p&gt;
&lt;ol style="color: rgb(31, 73, 125);"&gt;&lt;li&gt;Open the sample, http://localhost:7373/Default.html#/WindowControls/UXDesktop, in browser.&lt;/li&gt;
&lt;li&gt;Select a client, for example: Diego Roel.&lt;/li&gt;
&lt;li&gt;EditClientProfile window will appear. Put the focus on the Full Name field and modify the text to “john doe”.&lt;/li&gt;
&lt;li&gt;Press tab to give the focus to Address field. The View is updated. The entered “john doe” becomes “JOHN DOE”.&lt;/li&gt;
&lt;li&gt;Press the Save button on the upper left corner of EditClientProfile window.
Once again, the View is updated.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I was unable to reproduce the reported problem in my local end. Everything worked smoothly and the View is updated without any issues. A video is enclosed which shows how the test is made on my local end.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;For your information, I’m using the latest build of ClientUI 7, ClientUI 7 build 3.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>View not being updated from MVVM</title><link>http://www.intersoftsolutions.com/Community/ClientUI/View-not-being-updated-from-MVVM/</link><pubDate>Fri, 12 Oct 2012 07:17:33 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;I am using your &lt;b&gt;ClientUI2010_Samples&lt;/b&gt; sample app.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; "&gt;I have amended this line &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: consolas; color: blue; "&gt;this&lt;/span&gt;&lt;span style="font-size: 10pt; background-color: white; font-family: consolas; "&gt;._name&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: consolas; color: blue; "&gt;value&lt;/span&gt;&lt;span style="font-size: 10pt; background-color: white; font-family: consolas; "&gt;;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; background-color: white; font-family: consolas; "&gt;to&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt; font-family: consolas; color: blue; "&gt;this&lt;/span&gt;&lt;span style="font-size: 10pt; background-color: white; font-family: consolas; "&gt;._name&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: consolas; color: blue; "&gt;value&lt;/span&gt;&lt;span style="font-size: 10pt; background-color: white; font-family: consolas; "&gt;.ToUpper();&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white; "&gt;&lt;span style="color: blue; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white; "&gt;&lt;span style="color: blue; "&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue; "&gt;string&lt;/span&gt;&amp;nbsp;Name&amp;nbsp;
		{
			&lt;span style="color: blue; "&gt;get&lt;/span&gt;&amp;nbsp;{&amp;nbsp;&lt;span style="color: blue; "&gt;return&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue; "&gt;this&lt;/span&gt;._name;&amp;nbsp;}
			&lt;span style="color: blue; "&gt;set&lt;/span&gt;&amp;nbsp;
			{
				&lt;span style="color: blue; "&gt;if&lt;/span&gt;&amp;nbsp;(&lt;span style="color: blue; "&gt;this&lt;/span&gt;._name&amp;nbsp;!=&amp;nbsp;&lt;span style="color: blue; "&gt;value&lt;/span&gt;)
				{
					&lt;span style="color: blue; "&gt;this&lt;/span&gt;._name&amp;nbsp;=&amp;nbsp;&lt;span style="color: blue; "&gt;value&lt;/span&gt;.ToUpper(); &amp;lt;&amp;lt;&amp;lt;&amp;lt;-----???????
					&lt;span style="color: blue; "&gt;this&lt;/span&gt;.ClearError(&lt;span style="color: rgb(163, 21, 21); "&gt;"Name"&lt;/span&gt;);
					&lt;span style="color: blue; "&gt;this&lt;/span&gt;.OnPropertyChanged(&lt;span style="color: rgb(163, 21, 21); "&gt;"Name"&lt;/span&gt;);
				}
			}
		}&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white; "&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white; "&gt;The Name propery is updated correctly but the View is not updated after tabbing off the field.If I save and return then the Name is in UpperCase.  Can you please explain why the view is   not being udpated.&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white; "&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; font-size: 13px; background-color: white; "&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p /&gt;</description></item></channel></rss>