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

[Solved] RadGrid autogenerate - enablelinqexpressions and filter

1 Answer 219 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morgan
Top achievements
Rank 1
Morgan asked on 04 Aug 2009, 02:02 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. I have looked at the filtering demo examples and that also uses enablelinqexpressions = false.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Morgan
Top achievements
Rank 1
answered on 05 Aug 2009, 11:43 AM
Fixed, thanks.
Tags
Grid
Asked by
Morgan
Top achievements
Rank 1
Answers by
Morgan
Top achievements
Rank 1
Share this question
or