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

How can I pass a value from Report to Table w/o using parameters?

1 Answer 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 12 Apr 2012, 11:26 PM
I have a report which has its own data source.  Inside that report is a table where I have sub-report content (not an actual subreport class, just *content* - in a table object).

That table has a textbox that I'd like to make Visible = true/false depending on a value in the report's data.  

I'm already using parameters between report data source and the table data source to align report to sub-report data.  I would like to avoid using parameters because it's my understanding that fields from the report's data source are not available to populate a value of a parameter.  

I would also like to avoid setting the report's data source at run-time because that process doesn't seem clear to me & I'd like to avoid getting deeply involved in code just to turn a textbox.Visible=false.

I was *hoping* that I could somehow get access to the processing namespace's version of the report from inside a table's ItemDataBound event handler.  However, it seems clear to me now that instantiating a Processing.Report can't be done starting with a Processing.Table.  It just looks like the parent collection yields little useful in the way of a class I can convert to a Processing.Report.  I also don't know for certain what TYPE of parent class there is for a Processing.Table.  From the documentation it looks like your only options are a ProcessingElement class that I can't convert into anything that gets me closer to a Processing.Table.

Should getting a value from the Report's data source & sending it to a Table be so difficult?  If anyone has ideas on how to solve this problem, it would be extremely helpful to me.  Thank-you very much.

1 Answer, 1 is accepted

Sort by
0
Greg
Top achievements
Rank 1
answered on 14 Apr 2012, 01:13 AM
Blah, I just ended up adding the value by changing the stored proc the table was based upon.  

I'm not sure that should get you off the hook though Telerik.  I've got mah eyes on youz.
Tags
General Discussions
Asked by
Greg
Top achievements
Rank 1
Answers by
Greg
Top achievements
Rank 1
Share this question
or