﻿<?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 - Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</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>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Sun, 01 Aug 2010 23:05:58 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>&lt;p&gt;The one we will be releasing in August 18, 2010 is WebUI Studio 2010 R1.&lt;/p&gt;&lt;p&gt;Regarding your issue, I could not replicate it using our Contacts_MVVM sample. Attached is the modified file form the sample in order for me to create your scenario. If the list is empty, the Presenter status will be ready and the content will be displayed correctly.&lt;/p&gt;
&lt;p&gt;In the ContactViewModel.cs, I add a few property to be used as a column in Presenter. The ContactViews.xaml page is modified to use GridPresenter.&lt;/p&gt;
&lt;p&gt;In order to simulate empty list, I modify the LoadContacts LINQ, here is the snippet:&lt;/p&gt;&lt;pre&gt;var contacts = from x in doc.Descendants("Customer")&lt;br /&gt;               where 1 == 0&lt;br /&gt;               select new Contact(x);&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Sat, 31 Jul 2010 12:21:54 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 Glenn,&lt;/p&gt;
&lt;p&gt;Along with the previous question I am having a problem with the GridPresenter. It is not displaying anything in the rows. The rows are there because I can highlight them but the Column content is not displayed.&lt;/p&gt;
&lt;p&gt;Additional to that there also seems to be an issue whereby if the list is empty it continually says "Loading..." at the bottom.&lt;/p&gt;
&lt;p&gt;Is there any possibility of getting a slightly improved version which will allow us to keep programming in the interim.&lt;/p&gt;
&lt;p&gt;Thanks &amp; Regards,&lt;/p&gt;
&lt;p&gt;Jeejee&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Fri, 30 Jul 2010 04:51:31 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 Glenn,&lt;/p&gt;
&lt;p&gt;When you say the R2 release is that the one expected in mid August or is it beyond that?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jeejee&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Thu, 29 Jul 2010 23:11:43 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>&lt;p&gt;@Jeejee&lt;/p&gt;&lt;p&gt;For the snippet to work, you will need to use DataPresenterTextColumn and disable the Presenter AutoGenerateColumns. Here is the modified snippet:&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:GridPresenter x:Name="PresenterGrid1" Intersoft:DockPanel.Dock="Top" &lt;br /&gt;	 ItemsSource="{Binding AttachmentTypes}" SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}"&lt;br /&gt;	 AutoGenerateColumn="No"&amp;gt;&lt;br /&gt;	&amp;lt;Intersoft:GridPresenter.Columns&amp;gt;&lt;br /&gt;		&amp;lt;Intersoft:DataPresenterTextColumn Caption="Test" DataMemberField="AttachmentTypeName"/&amp;gt;&lt;br /&gt;	&amp;lt;/Intersoft:GridPresenter.Columns&amp;gt;&lt;br /&gt;&amp;lt;/Intersoft:GridPresenter&amp;gt;&lt;/pre&gt;
&lt;p&gt;@Balachander&lt;/p&gt;
&lt;p&gt;I would like to note that without using RowTemplate, the Presenter now only work partially in MVVM scenario. Without RowTemplate, Presenter will only do initial binding once, that will mean in the Contacts sample after you edit the Contacts, the changes will not be reflected on the Presenter by default.  &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;A more integrated support for the presenter is planned for R2 release.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Thu, 29 Jul 2010 12:39:32 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;Does the GridPresenter work with DataPresenterColumn at the moment?&lt;/p&gt;
&lt;p&gt;I am attempting something like:&lt;/p&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;GridPresenter&lt;/span&gt;&lt;span style="color: red"&gt; x&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: red"&gt;Name&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"PresenterGrid1"&lt;/span&gt;&amp;nbsp;&lt;br /&gt;	&lt;span style="color: red"&gt; Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: red"&gt;DockPanel.Dock&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"Top"&lt;/span&gt;&amp;nbsp;&lt;br /&gt;	&lt;span style="color: red"&gt; ItemsSource&lt;/span&gt;&lt;span style="color: blue"&gt;="{&lt;/span&gt;&lt;span style="color: #a31515"&gt;Binding&lt;/span&gt;&lt;span style="color: red"&gt; AttachmentTypes&lt;/span&gt;&lt;span style="color: blue"&gt;}&lt;/span&gt;&lt;span style="color: blue"&gt;"&lt;/span&gt;&amp;nbsp;&lt;br /&gt;	&lt;span style="color: red"&gt; SelectedItem&lt;/span&gt;&lt;span style="color: blue"&gt;="{&lt;/span&gt;&lt;span style="color: #a31515"&gt;Binding&lt;/span&gt;&lt;span style="color: red"&gt; Path&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;SelectedItem&lt;/span&gt;&lt;span style="color: blue"&gt;,&lt;/span&gt;&lt;span style="color: red"&gt; Mode&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;TwoWay&lt;/span&gt;&lt;span style="color: blue"&gt;}&lt;/span&gt;&lt;span style="color: blue"&gt;"&lt;/span&gt;&amp;nbsp;&lt;br /&gt;	&lt;span style="color: blue"&gt; &amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #a31515"&gt;	&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;GridPresenter.Columns&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #a31515"&gt;	&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;DataPresenterColumn&lt;/span&gt;&lt;span style="color: red"&gt; Caption&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"Test"&lt;/span&gt;&lt;span style="color: red"&gt;							Header&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"Test"&lt;/span&gt;&lt;span style="color: red"&gt; &lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: red"&gt;&lt;/span&gt;&lt;span style="color: red"&gt;		DataMemberField&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"AttachmentTypeName"&lt;/span&gt;&lt;span style="color: blue"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #a31515"&gt;	&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;GridPresenter.Columns&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;GridPresenter&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: blue"&gt;Would that work? I am currently getting an exception being thrown when running the application&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: blue"&gt;Thanks&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: blue"&gt;Jeejee&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Thu, 29 Jul 2010 10:19:27 GMT</pubDate><dc:creator>mlcmds</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>&lt;p&gt;Hi Glenn,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks a lot for the Presenter Nightly Build.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Preliminary Testing with the GridPresenter seems to work even without the RowTemplate.&lt;/p&gt;
&lt;p&gt;Will post you after further testing.  Am currently using it with DevForce 2010 (IdeaBlade).&lt;/p&gt;
&lt;p&gt;Thanks once again for the good work. &lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley1.gif" /&gt; &lt;/p&gt;
&lt;p&gt;PresenterManager does not seem to work though &lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley10.gif" /&gt; . I guess I am missing something.&lt;/p&gt;
&lt;p&gt;A code snippet with that would be good ! especially Unbound method&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Thu, 29 Jul 2010 10:03:55 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;Thanks Jimmy/Glenn,&lt;/p&gt;
&lt;p&gt;I will try and let you know how it goes.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jeejee&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Thu, 29 Jul 2010 09:41:32 GMT</pubDate><dc:creator>jimmyps</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>&lt;p&gt;Hi Jee,&lt;/p&gt;&lt;p&gt;We've managed to improve Presenters to work with MVVM binding in the RTM buuild. Our support team has attached the latest nightly build as well as the updated ContactsView sample.&lt;/p&gt;
&lt;p&gt;Please let me know if everything works as expected in your end. Thank you.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;Jimmy.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Thu, 29 Jul 2010 02:16:37 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>&lt;p&gt;You will need a Presenter nightly build to achieve this scenario. The presenter nightly build is attached. Please extract the assembly to the Client UI installation folder, by default C:\Program Files\Intersoft Solutions\ClientUI 3\Silverlight 4\Bin.&lt;/p&gt;&lt;p&gt;With the new build, binding ViewModel to presenter will be similar with other UX control. Here is the snippet:&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:GridPresenter Intersoft:DockPanel.Dock="Top" x:Name="PresenterGrid1" ItemsSource="{Binding Contacts}" SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}" RowTemplate="{StaticResource ContactViewTemplate}" RowHeight="108" &amp;gt;&amp;lt;/Intersoft:GridPresenter&amp;gt;&lt;/pre&gt;
&lt;p&gt;I also attached a modified ContactsView.xaml that implement the Presenter instead of UXListBox. In this sample, I am using the previous UXListBox ItemTemplate as the new RowTemplate for the GridPresenter.  &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</link><pubDate>Wed, 28 Jul 2010 16:03:13 GMT</pubDate><dc:creator>aibo</dc:creator><category>Silverlight</category><category>ClientUI</category><category>MVVM</category><category>DataPresenter ClientUI MVVM</category><description>Same here&lt;br /&gt;</description></item><item><title>Using DataPresenter along with ClientUI MVVM framework</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-DataPresenter-along-with-ClientUI-MVVM-framework/</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></channel></rss>