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


Some time ago someone asked how to pair the asset of a child object in the rdlc report. questions.

The solution was to use an expression like this:

  = Field! ChildObject.Value.SomeProperty  

I have recently attempted to upgrade to version 10 of Reporting Libraries (Microsoft. Report Weaver.Worforms and Microsoft ReportWire Commons) and any Due to this it does not work anymore. I have found all the data, except for everyone who uses this technique and to display the report properly. I get the text instead of the property value: "#Error"

Why does not it work anymore? Anyone know how to do this in the new version?

I can confirm that this bug is fixed in VS2010 SP1 ... but you The class all must be marked as serial.

You can find a sample project on this site that shows a working version:

The author has also mentioned that your classes will need a parasail constructor, but I've got it to work with classes without the default constructor. However, if you have marked everything as serializable and still are seeing the "#Error" message, try it with the parasailable constructor.


Comments