﻿<?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 - UXQueryBuilder</title><link>http://www.intersoftsolutions.com/Community/Tags/UXQueryBuilder/</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>UXQueryBuilder - Custom Filter Operator</title><link>http://www.intersoftsolutions.com/Community/Tags/UXQueryBuilder/</link><pubDate>Sun, 17 Aug 2014 21:43:16 GMT</pubDate><dc:creator>gohkwongboon</dc:creator><category>UXQueryBuilder</category><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;Is there a way to define our own list of operators to the UXQueryBuilder? I am aware that there is a feature to exclude undesired operators but what I am looking for is to define my own sets of operator based on the PropertyType.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Best Regards&lt;/p&gt;</description></item><item><title>UXQueryBuilder: Unable to get property dropdowns working</title><link>http://www.intersoftsolutions.com/Community/Tags/UXQueryBuilder/</link><pubDate>Thu, 26 Jun 2014 12:20:19 GMT</pubDate><dc:creator>irishbuddha22</dc:creator><category>UXQueryBuilder</category><description>&lt;p&gt;Trying to get the UXQueryBuilder functional in a small WPF project, but after hitting the dropdown(s) to select a property, receive an exception "Object Reference Not Set to an Instance of the Object". I know, something stupid I'm doing, but I can't seem to track down the missing piece in the configuration.&lt;/p&gt;&lt;p&gt;Binding Errors from the output window:&lt;/p&gt;&lt;pre&gt;System.Windows.Data Information: 41 : BindingExpression path error: 'Name' property not found for 'object' because data item is null.  This could happen because the data provider has not produced any data yet. BindingExpression:Path=Name; DataItem=null; target element is 'ContentControl' (Name=''); target property is 'Content' (type 'Object')
System.Windows.Data Information: 20 : BindingExpression cannot retrieve value due to missing information. BindingExpression:Path=Name; DataItem=null; target element is 'ContentControl' (Name=''); target property is 'Content' (type 'Object')
System.Windows.Data Information: 21 : BindingExpression cannot retrieve value from null data item. This could happen when binding is detached or when binding to a Nullable type that has no value. BindingExpression:Path=Name; DataItem=null; target element is 'ContentControl' (Name=''); target property is 'Content' (type 'Object')
System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=Name; DataItem=null; target element is 'ContentControl' (Name=''); target property is 'Content' (type 'Object')
&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;br&gt;WPF 'Client' Application loading OData from an asp.net web site with a WCF Service (EF5, .nET 4.5, C#)&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXQueryBuilder x:Name="QryBuilder"
CollectionView="{Binding People}" Intersoft:DockPanel.IsFillElement="True" ObjectType="{Binding ObjectType}" PropertyListMode="All" QueryOperation="Client" /&amp;gt;&lt;/pre&gt;&lt;p&gt;Here is the UXGridView that is using the same underlying PagedCollectionView to display the data, everything wo&lt;span style="font-size: 10pt;"&gt;rks fine here.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;                &amp;lt;Intersoft:UXGridView AutoGenerateColumns="False"&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;EnableRowVirtualization="True"&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;QueryOperation="CLient"&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;SortDescriptors="{Binding People.SortDescriptors,&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;Mode=TwoWay}"&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;ItemsSource="{Binding People,&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;Mode=TwoWay}"&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;SelectedItem="{Binding SelectedPerson,&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;Mode=TwoWay}"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Behind the scens in the ViewModel&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;public Type ObjectType&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;{&lt;br&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;get { return typeof(LwCiPerson); }&lt;br&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Tahoma; font-size: 9pt; background-color: rgb(255, 252, 225);"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;model constructor...&amp;nbsp;&lt;span style="font-size: 9pt;"&gt;excerpt&lt;/span&gt;&lt;span style="font-size: 9pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;_lstPeople = new ObservableCollection&amp;lt;LwCiPerson&amp;gt;();

People = new PagedCollectionView(LstPeople);

_people.SortDescriptions.Add(new SortDescription("NameLast",ListSortDirection.Ascending));
_people.SortDescriptions.Add(new SortDescription("NameFirst", ListSortDirection.Ascending));            

_people.FilterDescriptions.Add(new FilterDescription { PropertyName = "Modified", Value = DateTime.Today, Operator = FilterOperator.IsLessThanOrEqualTo });
_people.FilterDescriptions.Add(new FilterDescription { PropertyName = "Modified", Value = DateTime.Today.AddDays(-30), Operator = FilterOperator.IsGreaterThanOrEqualTo });

&amp;lt;end model constructor excerpt&amp;gt;&lt;/pre&gt;&lt;p&gt;The samples are simple enough, and reading through the client documentation, I don't really see anything that jumps out and says "doh, you missed this"&lt;/p&gt;&lt;p&gt;Anyone have any thoughts on what I'm overlooking here? This is just a small data browsing tool I'm developing to review some data in technical support situations, so it's not mission critical. I have an existing way to filter the data that is quite a bit more limited, but wanted to see if I could accomplish the same functionality using UXQueryBuilder as it is a lot more functional, and intuitive. This, in conjunction with a UXPropertyGrid, makes data review at a client site wonderfully simple when you don't have access to SQL Mgmt Studio and are investigating an issue.&lt;/p&gt;&lt;p&gt;Thanks for any help!&lt;/p&gt;&lt;p&gt;-Patrick&lt;/p&gt;</description></item></channel></rss>