This is a migrated thread and some comments may be shown as answers.

WPF designer example data problem

1 Answer 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Markoniuss
Top achievements
Rank 1
Markoniuss asked on 15 Sep 2010, 07:55 PM
Hi, I have an issue, when I use Group Aggregates, see below

<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?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Sep 2010, 07:01 AM
Hello,

 Most probably you have old version of the grid. Can you try our latest Q2 2010 SP1 and let us know about the result?

Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Markoniuss
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or