﻿<?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 - MVVM</title><link>http://www.intersoftsolutions.com/Community/Tags/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>Write my own MVVM based mobile services</title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Wed, 13 Aug 2014 02:37:47 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><category>MVVM</category><category>Mobile Services</category><description>&lt;p&gt;Most of third party mobile cloud platforms provide lots of powerful services, such as Storage, Push Notification, Audio/Video Encoding, LBS, Social Share, Analysis, Feed Back etc.. &amp;nbsp;As you know, they usually provide iOS &amp;amp; Android SDKs, sometimes javascript SDK.&amp;nbsp;&lt;span style="font-size: 10pt;"&gt;My question is&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;How can we write our C# code to wrap these iOS/Android class libraries, and integrate with Crosslight MVVM pattern, such as write our own Mobile Service (only invoked in ViewModel layer), just like Crosslight mobile service did? &amp;nbsp;Can you give us any ideas or samples?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>[VIDEO] Understanding MVVM Pattern in Crosslight </title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Mon, 09 Dec 2013 03:51:51 GMT</pubDate><dc:creator>martin@intersoftpt.com</dc:creator><category>MVVM</category><category>tutorial</category><category>Crosslight</category><category>video</category><category>pattern</category><description>&lt;p&gt;Dear valued customers,&lt;/p&gt;
&lt;p&gt;We have recently added a new tutorial video which in general shows how the MVVM pattern works in Crosslight apps development. You will learn how Crosslight leverages the MVVM concept in order to produce cross-platform projects with a single shared application layer. By the end of this video, you will be able to grasp the MVVM pattern in general as well as getting the right mindset when building apps using Crosslight. Watch the tutorial video in &lt;a href="http://www.youtube.com/watch?v=Ha_DuQidbvs" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Martin Lie&lt;br /&gt;Account Representative&lt;/p&gt;</description></item><item><title>Duplicate function for MVVM data application </title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Thu, 13 Oct 2011 16:24:16 GMT</pubDate><dc:creator>mg@hsig.ch</dc:creator><category>MVVM</category><category>command</category><category>generic</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I use the ClientUI MVVM data application (WCF RIA SP1) Template.&lt;br /&gt;I would like to integrate a duplicating function. That is, that I would like to copy the selected row and insert it as a duplicate. All column values should be copied except the primary key (GUID). This is to be regenerated by the application.&lt;/p&gt;
&lt;p&gt;I have now created a new command (DuplicateRowCommand) in the class EditableGridViewModelBase. I've bound the command to a UXButton.&lt;/p&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; EditableGridViewModelBase() : &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;base&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;() &lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;// Batch update is not supported in WCF RIA Services. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.IsBatchUpdate = &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;false&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;; &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.AutoEditOperation = &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;false&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;; &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;...&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.ValidateRowCommand = &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;DelegateCommand&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;(ExecuteValidateRow); &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.DuplicateRowCommand = &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;&lt;span style="font-family: consolas; color: #2b91af"&gt;DelegateCommand&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;(ExecuteDuplicateRow); &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;private&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; ExecuteDuplicateRow(&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; parameter) &lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.EditableProductsSource.Insert(&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.SelectedItem); &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; (!&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.IsBatchUpdate) &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.SaveChanges(); &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;else &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.HasChanges = &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;; &lt;p&gt;}&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;How / where do I change the primary key? I have problems, because it is a generic class. Should I override ExecuteDuplicateRow in each ViewModel?&lt;br /&gt;How do to I best this?&lt;/p&gt;
&lt;div lang="undefined" _msthash="826319"&gt; &lt;/div&gt;
&lt;div lang="undefined" _msthash="826319"&gt;&lt;strong&gt;A simpler sample is to initialize default values:&lt;/strong&gt;&lt;/div&gt;
&lt;div lang="undefined" _msthash="826319"&gt;How can I add default values? How do I get the "product" object?&lt;/div&gt;
&lt;div lang="undefined" _msthash="826319"&gt;((parameter.GetType())(parameter).ProductName = "New Product" does not work...&lt;/div&gt;
&lt;div lang="undefined" _msthash="826319"&gt; &lt;/div&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;private&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; ExecutePrepareNewRow(&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; parameter) &lt;p&gt;{&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;// It's possible to initialize the new row with default values &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;// Example: &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;// product.ProductName = "New Product"; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;span style="font-family: consolas; color: #008000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.NewItem = &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.EditableProductsSource.Create() &lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;as&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt; T;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas"&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.EditableProductsSource.Insert(&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;&lt;span style="font-family: consolas; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas"&gt;.NewItem); 
&lt;p&gt;}&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks for help!&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>Cannot Create an Instance of ContactsListViewModel</title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Wed, 13 Apr 2011 18:46:03 GMT</pubDate><dc:creator>MikeS</dc:creator><category>MVVM</category><description>&lt;p&gt;I'm working through the &lt;span id="pagetitle"&gt;Walkthrough: Create Your First ClientUI Application using 
MVVM Pattern &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1.)  I'm a dumb newb but only the videos (not the written material) show how to resolve references etc.&lt;/p&gt;
&lt;p&gt;2.)  No matter how many times I copy, or cut and paste the code I am ending up with a Cannot Create an instance of "ContactsListViewModel" error.&lt;/p&gt;
&lt;p&gt;3.)  I tried the forums but there does not seem to be any ability to search the forums for text (vis a vis scrolling through every post)&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;4.)  Your Live Chat help system launches a window that advises you to wait before disconnecting after about 5 mins.&lt;/p&gt;
&lt;p&gt;5.)  Calling your support number gives me a receptionist who transfers my call to a scratchy connection (overseas??) that rings then gives a busy signal and then disconnects the call.&lt;br /&gt;&lt;span id="pagetitle" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="pagetitle"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Fri, 16 Jul 2010 23:47:58 GMT</pubDate><dc:creator>jeejee</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Is there an example where the DataPresenter is used inside the ClientUIBusinessApplication using a MVVM class to supply it the data. &lt;/p&gt;
&lt;p&gt;If there is please could you point me to it.&lt;/p&gt;
&lt;p&gt;If not is there any documentation on DataPresenter that is usable. The Demo site seems to be down at the moment.&lt;/p&gt;
&lt;p&gt;I am looking to use The DataPresentationManager (and List/Grid Presenter) within the ClientUI application bound to a ViewModel. There seems to be some problem whereby I cannot successfuly bind the DataPresenter to the viewmodel (it keeps saying that it is Loading... but does not actually show any data. When the same viewmodel is bound to the ListBox it shows the data.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jeejee&lt;/p&gt;</description></item><item><title>Using ClientUI with IdeaBlade Devforce 2010</title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Sat, 10 Jul 2010 01:33:39 GMT</pubDate><dc:creator>jeejee</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>IdeaBlade</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to know if it would be possible to use ClientUI with IdeaBlade Devforce 2010 (or more specifically a ModelView class built using it)?&lt;/p&gt;
&lt;p&gt;Can we assume that the in-built datasources are not the only ones that need to be used with the UI controls&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jeejee&lt;/p&gt;</description></item><item><title>Parent Child Sample using MVVM</title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Thu, 08 Jul 2010 10:46:40 GMT</pubDate><dc:creator>jeejee</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>Parent/Child</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am evaluating ClientUI and so far things are looking quite good. &lt;/p&gt;
&lt;p&gt;Are there going to be additional samples provided with the RTM. I would particularily like to see some samples around Parent/Child tables eg. Orders and Order Details&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jeejee&lt;/p&gt;</description></item><item><title>Create Your First MVVM Business Project in 5 Minutes</title><link>http://www.intersoftsolutions.com/Community/Tags/MVVM/</link><pubDate>Sat, 03 Jul 2010 02:11:13 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>Get Started</category><description>&lt;p&gt;
Watch how you can get started with your immersive business application in less than 5 minutes. It shows how ClientUI enables a&lt;b&gt; true rapid Silverlight application development&lt;/b&gt; – adding new pages, adding new navigation buttons, run it and everything will just work – effortlessly.
&lt;/p&gt;
&lt;p&gt;
&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/BEF69W0lty4&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xd0d0d0&amp;amp;hl=en_US&amp;amp;feature=player_embedded&amp;amp;fs=1" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;param name="allowScriptAccess" value="always" /&gt;&lt;embed src="http://www.youtube.com/v/BEF69W0lty4&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xd0d0d0&amp;amp;hl=en_US&amp;amp;feature=player_embedded&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="385" /&gt;&lt;/object&gt;
&lt;/p&gt;</description></item></channel></rss>