Hello, I have the new version of Telerik.Web.UI.dll and i founded a couple of issues.
With the older version this GridCalculatedColumn worked fine.
<
telerik:GridCalculatedColumn UniqueName="PorcentajeDesv" HeaderText="% Desv." DataFields="DeltaCin,DeltaCout,Porcentaje" Expression="IIF({0}<>0,{1}/{0}*100-Porcentaje,0.00)" DataFormatString="{0:######0.00}" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" DataType="System.Decimal" Aggregate="Avg" HeaderStyle-Width="55"/>
I will describe the issues:
1 - Sys.WebForms.PageRequestManagerServerErrorException: Digit expected
This not work if i use expression like that: Expression="IIF({0}<>0,{1}/{0}*100-Porcentaje,0.00)"
If i use this: Expression="({1}/{0})*100-{2}" works ok.
But not work the aggregate AVG. Aggregate="Avg"
If i use Aggregate like count is ok, but not work with Avg.
I have the same problem with DataType="System.Decimal" in other columns.
The older version Telerik.Web.UI.dll is in production and work fine, with this new version (2010.1.309.35) is too dificult put in production i have all this errors. I need your help please about this problems.
Thanks.