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

Expression Editor Aggregate Functions Problem

3 Answers 69 Views
ExpressionEditor
This is a migrated thread and some comments may be shown as answers.
Eyup
Top achievements
Rank 1
Eyup asked on 04 Dec 2012, 02:04 PM
Hi,

When I use aggregate functions, expression editor doesn't working.
Even I used the example on your help documantation and demos page, the result is the same. (not working :( )

Example on your demos : 
http://demos.telerik.com/silverlight/#ExpressionEditor/FirstLook

Example on your help documantation: 
http://www.telerik.com/help/silverlight/radexpressioneditor-overview.html 
I'm use this formula : 
Average(UnitPrice >= 20 And Discountued = False)



When I use as : 5 + 2 Working
When I use as : Sum(5, 2) Not working


Thanks

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Dec 2012, 02:17 PM
Hello,

 Can you write the plain C# version of the expression that will not work for the expression editor?

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Eyup
Top achievements
Rank 1
answered on 04 Dec 2012, 02:42 PM
sorry ı could not understant... can you give the example below :

Average(UnitPrice >= 20 And Discountued = False)


Thanks
0
Vlad
Telerik team
answered on 04 Dec 2012, 02:47 PM
Hello,

There is no such Average function in Silverlight. I strongly suggest you to check this article for more info:
http://msdn.microsoft.com/en-us/library/9eekhta0(v=vs.95).aspx

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ExpressionEditor
Asked by
Eyup
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Eyup
Top achievements
Rank 1
Share this question
or