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

Version 2010.1.309.35 Grid Problems

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fabian Raul Jofre
Top achievements
Rank 2
Fabian Raul Jofre asked on 17 Mar 2010, 12:16 AM

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.

 

 

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 22 Mar 2010, 11:11 AM
Hello Fabian,

I have examined the GridCalculatedColumn code snippet which you posted and I made a simple application contains it. However I am unable to recreate the described behavior, on my side the GridCalculatedColumn works as expected.

At this point in order to progress in the resolution of this matter I will ask you to send us a simple runnable application demonstrating the problem. You could open a formal support ticket from your Telerik account and attach a ZIP file there.  In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Additionally, I am sending you the simple example contains the GridCalculatedColumn's markup code,  which you posted.

Regards,
Radoslav
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
Grid
Asked by
Fabian Raul Jofre
Top achievements
Rank 2
Answers by
Radoslav
Telerik team
Share this question
or