Hi, I have an issue, when I use Group Aggregates, see below
I get following error
But this only shows in WPF designer, I can easily compile code without any issues. Logically I believe that WPF designer use some sort of example data which does not contain "tel" column. So when I change column to "CustomerID" (this from example data) I get no errors at all.
Is there any possibility to modify example data shown in WPF designer to what I have from my SQL table. Or any other ideas?
<
telerik:RadGridView
Name
=
"radGridView1"
>
<
telerik:RadGridView.GroupDescriptors
>
<
telerik:GroupDescriptor
Member
=
"tel"
>
<
telerik:GroupDescriptor.AggregateFunctions
>
<
telerik:CountFunction
Caption
=
"Entries: "
/>
</
telerik:GroupDescriptor.AggregateFunctions
>
</
telerik:GroupDescriptor
>
</
telerik:RadGridView.GroupDescriptors
>
</
telerik:RadGridView
>
I get following error
Error 1 Invalid property or field - 'tel' for type: Customer C:\Users\Martinek\Documents\My\Learning.Dot.Net\LINQ.2\LINQ.2\Window1.xaml 6 9 LINQ.2
But this only shows in WPF designer, I can easily compile code without any issues. Logically I believe that WPF designer use some sort of example data which does not contain "tel" column. So when I change column to "CustomerID" (this from example data) I get no errors at all.
Is there any possibility to modify example data shown in WPF designer to what I have from my SQL table. Or any other ideas?