Calculated columns and RegisterData

The following question
I have a problem getting a Calculated column to work.
I do the following:
1) I design a report and add a Calculated column to the Data Source.
2) Save the report.
3) If in code I do a report.RegisterData (IEnumerable of Objects) I loose the calculated column...

Is there another method to register the data?
Any suggestions please?

Marco.

Comments

  • edited 8:28PM
    Sorry, but calculated column can't work with business objects. Use report parameters instead (you can set the parameter's Expression to any expression that will be calculated each time you access the parameter).

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.