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

[Solved] Can't calculate group aggregate. Input string not in correct format

1 Answer 186 Views
Grid
This is a migrated thread and some comments may be shown as answers.
andieje
Top achievements
Rank 1
andieje asked on 29 Jun 2009, 10:00 AM
Hi

I am trying to calculate a group aggregate for my grid. I am trying to calculate a SUM on a field called Distance but I get the error "Input string was not in the correct format"

I believe the problem is that the rows can have values like this: 8.72852595488195e-005

Is there anything I can do about this?

thanks

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 01 Jul 2009, 03:30 PM
Hi andieje,

Try setting the DataType property of your column containing such values to System.Double. See how it goes.

Greetings,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
andieje
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or