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

[Solved] What does this error mean: Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +209

1 Answer 265 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 18 Jun 2009, 01:06 PM
Hello Telerik-team,

i got an error and can't find it in the code:

[ParseException: Expression expected]
   Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +209
   Telerik.Web.UI.ExpressionParser.ParsePrimary() +36
   Telerik.Web.UI.ExpressionParser.ParseUnary() +365
   Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +54
   Telerik.Web.UI.ExpressionParser.ParseAdditive() +54
   Telerik.Web.UI.ExpressionParser.ParseComparison() +57
   Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +49
   Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +49
   Telerik.Web.UI.ExpressionParser.ParseExpression() +60

Can anyone help and tell me where I have to search the error?

Thanks!

Christian

1 Answer, 1 is accepted

Sort by
0
Christian
Top achievements
Rank 1
answered on 18 Jun 2009, 02:16 PM
I forgot "EnableLinqExpressions = False".

Now it works!

Christian
Shal
Top achievements
Rank 1
commented on 27 May 2021, 10:31 AM

I kept "EnableLinqExpressions = False". still I am facing the same problem. Please help.
Vessy
Telerik team
commented on 01 Jun 2021, 09:53 AM

Hi Shal,

Can you confirm that you are not calling the DataBind() method of the Grid anywhere on the problematic page?

In case you are binding the control via simple data binding, I would advise that you switch to Advanced Data-binding (Using NeedDataSource Event), ensuring that DataBind() mehod is not called anywhere in the code. 

If this does not help, you could share the markup of the grid and the server code related to it, so we would be able to provide you with a more accurate information.

Tags
Grid
Asked by
Christian
Top achievements
Rank 1
Answers by
Christian
Top achievements
Rank 1
Share this question
or