This question is locked. New answers and comments are not allowed.
I try Grid View Samples Demo (Totals):
http://demos.telerik.com/silverlight/#GridView/Totals
but When I try The Sample It Doesn't Work with me "Invalid Property or Field for Type : Entity"
and Where is The Function Defination "MinUnitPrice"
<telerik:SumFunction Caption="Sum: " ResultFormatString="{}{0:c}" SourceField="UnitPrice" />
<telerik:AverageFunction Caption="Average: " ResultFormatString="{}{0:c}" SourceField="UnitPrice" />
http://demos.telerik.com/silverlight/#GridView/Totals
but When I try The Sample It Doesn't Work with me "Invalid Property or Field for Type : Entity"
and Where is The Function Defination "MinUnitPrice"
<telerik:SumFunction Caption="Sum: " ResultFormatString="{}{0:c}" SourceField="UnitPrice" />
<telerik:AverageFunction Caption="Average: " ResultFormatString="{}{0:c}" SourceField="UnitPrice" />
4 Answers, 1 is accepted
0
Hi Ahmed,
Maya
the Telerik team
Please roll on a bit more about the way you are reproducing this issue. Do you use the same settings like those in the demos ? What is the type of MinUnitPrice Property - is it of numeric type ? Which is the version you work with ?
Maya
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
0
Ahmed
Top achievements
Rank 1
answered on 26 Oct 2010, 10:42 PM
Yes The Same Settings
Yes Numeric
Q3 2010 Version
...............................
The Most Thing I want To Know is Where is The Code for That Function "MinUnitPrice" Where its Execution??
Thanks Maya And I hope That Help You
Yes Numeric
Q3 2010 Version
...............................
The Most Thing I want To Know is Where is The Code for That Function "MinUnitPrice" Where its Execution??
Thanks Maya And I hope That Help You
0
Accepted
Hi Ahmed,
Maya
the Telerik team
Using the example in our demos, I tried to reproduce the issue you specified.I am sending you the sample project I tested the problem on. Please take a look at it and share if there is some misunderstandings according to what you are doing.
As for the MinUnitPrice function, it is the built-in MinFunction and the MinUnitPrice is the name set to this particular function so that it can be later used in the code-behind. In the sample project I attach, I am defining another FunctionName - MinStadiumCapacity.
Maya
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
0
Ahmed
Top achievements
Rank 1
answered on 27 Oct 2010, 02:27 PM
Thanks Alot Maya for Your Help and Support