Why won't binding to a child object property with rdlc Report work in vs2010?

Posted by andrej351 on Stack Overflow See other posts from Stack Overflow or by andrej351
Published on 2010-05-18T07:55:36Z Indexed on 2010/05/18 8:01 UTC
Read the original article Hit count: 326

A while ago someone asked how to bind to a child object's property in a rdlc report. Question here.

The solution was to use an expression like this:

=Fields!ChildObject.Value.SomeProperty

I have recently tried to upgrade to version 10 of the reporting libraries (Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common) and for some reason this does not work anymore. I have got the report rendering and displaying all data fine except any which uses this technique. Instead of the property value i get the text: "#Error"

Why doesn't this work anymore? Anybody know how to to this in the new version?

© Stack Overflow or respective owner

Related posts about reportviewer2008

Related posts about reportviewer