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

[Solved] RadGrid autogenerate - datetime filter

1 Answer 183 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kachy
Top achievements
Rank 1
kachy asked on 04 Aug 2009, 01:05 PM
I am tyring to create a report with autogenerated Radgrid and adding a Calculatedcolumn for row total. If the columns are declared in design mode and I use EnableLinqExpressions false, filter for DateTime and the calculated column works but for autogenerated columns - I get following error for DateTime filter and Calculated Column filter.

For DateTime filter:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

For GridCalculated Column the error is:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Expression of type 'System.Nullable`1[System.Int32]' cannot be used for parameter of type 'System.Object' of method 'System.String ToString(System.Object)'


Can you please suggest what can I do to fix that error.

Thanks.

1 Answer, 1 is accepted

Sort by
0
kachy
Top achievements
Rank 1
answered on 04 Aug 2009, 08:20 PM
Its working now. I did some workaround to make it work.

Thanks.
Tags
Grid
Asked by
kachy
Top achievements
Rank 1
Answers by
kachy
Top achievements
Rank 1
Share this question
or