We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Expressions with ReportItems works fine in Report Designer but gives error on MVC reportviewer

Thread ID:





127156 Oct 30,2016 11:41 AM UTC Nov 1,2016 07:20 AM UTC ASP.NET MVC 1
Tags: ReportViewer
Juan José Carmona Yebes
Asked On October 30, 2016 11:41 AM UTC


I have a problem using expressions which include ReportItems values.

An example of the problem is the following:

I use this expression in order to set the value of a TextBox item called TextBox3  =>    = CDbl(ReportItems!TextBox1.Value) - CDbl(ReportItems!TextBox2.Value)

This works fine on report designer but returns the following error on MVC reportviewer:

An error occurred while processing the report item 'Textbox3' and The Value expression refers to the report item ‘ TextBox1’.Report item expressions can only refer to other report items within the same grouping scope or a containing grouping scope.Letters in the names of report items must use the correct case.

Obviously I am using the same report in report designer and reportviewer but the behavior is different.

Is this a known issue? How could I solve it? 

I have solved temporarily it by copying the whole expressions of  TextBox1 and TextBox2 in TextBox3 instead of refer its ReportItem Values  but report performance is much slower than using ReportItems values.

Is this the only solution?

Thank you very much!

Yuvaraj Devarajan [Syncfusion]
Replied On November 1, 2016 07:20 AM UTC

Hi Juan, 
Thanks for contacting Syncfusion support. 
We were unable to reproduce the mentioned issue at our end. We have prepared and tested the Report using the shared expression and it’s working fine at our end as shown in below shared screenshot. So can you please share the issue reproducible Report definition file and also confirm your Essential studio build version referred in your application with us to validate the mentioned issue. 
We have prepared the sample and it can be downloaded from, 
Yuvaraj D. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon