﻿<?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 - Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</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>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Tue, 24 Aug 2010 01:01:56 GMT</pubDate><dc:creator>qualco</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;Sorry my bad I corrected my code and it works fine&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Sorry&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/smiley8.gif" /&gt; &lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Tue, 24 Aug 2010 00:58:12 GMT</pubDate><dc:creator>qualco</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;Well it still does not work form me and the assemblies are the correct version. Does it matter that I have placed combo on a toolbar&lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Mon, 23 Aug 2010 11:25:06 GMT</pubDate><dc:creator>jimmyps</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;Yiannis,&lt;/p&gt;
&lt;p&gt;The RTM build has the file assembly version set to 3.0.5000.8, which is consistently set to all assemblies.&lt;/p&gt;
&lt;p&gt;To check the assembly version, go to Windows Explorer, bring up the Properties of the assembly, then check the File Version field.&lt;/p&gt;
&lt;p&gt;Note: Do not check the version in VS 2010, since it's displaying the assembly version, not assembly file version.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;Jimmy.&lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Mon, 23 Aug 2010 02:21:29 GMT</pubDate><dc:creator>qualco</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;Any chance that RTM build did not remove old components how can I check.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;What are the RTM version on assemblies so I can check my peroject&lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Sun, 22 Aug 2010 23:09:06 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;Based on my test with the RTM build of ClientUI, with the original snippet you posted on the first post the UXComboBox already show the &lt;em&gt;name&lt;/em&gt; field in the dropdown result box. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Fri, 20 Aug 2010 22:22:17 GMT</pubDate><dc:creator>jimmyps</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;This should have been fixed as our support has the test case that confirms the fix of each submitted issue. Let's hear the test result from our support on Monday.&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Fri, 20 Aug 2010 14:22:01 GMT</pubDate><dc:creator>qualco</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;Well unfortunately this has not being fixed on the RTM build&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&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/smiley20.gif" /&gt; &lt;/p&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Fri, 30 Jul 2010 00:06:14 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;This behavior is caused by a bug in the UXComboBox. By default, in your scenario the result box should also show the "name" field. &lt;br /&gt;&lt;/p&gt;This issue will be fix on the next build of Client UI.&lt;br /&gt;&lt;br /&gt;As a workaround, you could use ItemTemplate to solve the issue. Here is the snippet, I am using C# in my test:&lt;br /&gt;&lt;pre&gt;void MainWindow_Loaded(object sender, RoutedEventArgs e)&lt;br /&gt;{&lt;br /&gt;    _DataForCombo.Columns.AddRange(new DataColumn[] { new DataColumn("ID", typeof(Int32)), new DataColumn("Name", typeof(string)) });&lt;br /&gt;&lt;br /&gt;    _DataForCombo.Rows.Add(0, "My Lvo");&lt;br /&gt;    _DataForCombo.Rows.Add(1, "My Lvo3");&lt;br /&gt;&lt;br /&gt;    _DataForCombo.AcceptChanges();&lt;br /&gt;    uXComboBox1.DisplayMemberPath = "Name";&lt;br /&gt;    uXComboBox1.SelectedValuePath = "ID";&lt;br /&gt;&lt;br /&gt;    uXComboBox1.ItemsSource = _DataForCombo.AsDataView();&lt;br /&gt;&lt;br /&gt;    uXComboBox1.ItemTemplate = (DataTemplate)this.Resources["ContactViewTemplate"];&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;Item template snippet:&lt;/p&gt;&lt;pre&gt;&amp;lt;Window.Resources&amp;gt;&lt;br /&gt;    &amp;lt;DataTemplate x:Key="ContactViewTemplate"&amp;gt;&lt;br /&gt;        &amp;lt;Grid&amp;gt;&lt;br /&gt;            &amp;lt;TextBlock Text="{Binding Name}"/&amp;gt;        &lt;br /&gt;        &amp;lt;/Grid&amp;gt;    &lt;br /&gt;    &amp;lt;/DataTemplate&amp;gt;&lt;br /&gt;&amp;lt;/Window.Resources&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;br /&gt;</description></item><item><title>Problem with UXComboBox [wpf]</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Problem-with-UXComboBox-wpf/</link><pubDate>Thu, 29 Jul 2010 18:06:16 GMT</pubDate><dc:creator>qualco</dc:creator><category>WPF</category><category>UXComboBox</category><description>&lt;p&gt;I have a combo box with default properties&lt;/p&gt;
&lt;p&gt;I try to bind to a DataTable like this in code:&lt;/p&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: blue"&gt;Private&lt;/span&gt;&amp;nbsp;_DataForCombo&amp;nbsp;&lt;span style="color: blue"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span style="color: #2b91af"&gt;DataTable&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: #2b91af"&gt;&lt;pre style="font-family: consolas"&gt;&lt;span style="color: blue"&gt;With&lt;/span&gt;&amp;nbsp;_DataForCombo.Columns&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Add(&lt;span style="color: #a31515"&gt;"id"&lt;/span&gt;,&amp;nbsp;&lt;span style="color: blue"&gt;GetType&lt;/span&gt;(&lt;span style="color: blue"&gt;Integer&lt;/span&gt;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Add(&lt;span style="color: #a31515"&gt;"name"&lt;/span&gt;,&amp;nbsp;&lt;span style="color: blue"&gt;GetType&lt;/span&gt;(&lt;span style="color: blue"&gt;String&lt;/span&gt;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue"&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue"&gt;With&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_DataForCombo.AcceptChanges()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_DataForCombo.Rows.Add(0,&amp;nbsp;&lt;span style="color: #a31515"&gt;"My Lvo"&lt;/span&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_DataForCombo.Rows.Add(1,&amp;nbsp;&lt;span style="color: #a31515"&gt;"My Lvo3"&lt;/span&gt;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_DataForCombo.AcceptChanges()&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;End With&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&lt;pre style="font-family: consolas"&gt;&amp;nbsp;UXComboBox1.DisplayMemberPath&amp;nbsp;=&amp;nbsp;&lt;span style="color: #a31515"&gt;"name"&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UXComboBox1.SelectedValuePath&amp;nbsp;=&amp;nbsp;&lt;span style="color: #a31515"&gt;"id"&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UXComboBox1.GetSelectedItem()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UXComboBox1.ItemsSource&amp;nbsp;=&amp;nbsp;_DataForCombo.AsDataView&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;Now when I expand I DataRowView text instead of my descriptions, if I select it show correctly.&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;Do I have to use ItemTemplate?&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="font-family: consolas"&gt;Thanks&lt;/pre&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;</description></item></channel></rss>