Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
Print/Print Preview Filtered Rows.
posted

Hi All, 

I am using xamDataPresenter to display my data and change the layout while printing it. I am using Reporting.Report.Sections.Add() method to add my section and also i am using EmbeddedVisualReportSection class to embed my datapresenter.

i.e. 

EmbeddedVisualReportSection section = new EmbeddedVisualReportSection(myXamDataPresenter);
myReport.Sections.Add(section);

But even if i apply filter in column, this is printing all the rows.

After few research i found that there is this method to get all the filtered rows only as a enumerable datarecord.

i.e. myXamDataPresenter..RecordManager.GetFilteredInDataRecords();

but the problem is, i cant embed the output of this method to EmbeddedVisualReportSection and also cant add it directly to report section as well.

So i was wondering if there is anyway i can just print preview and print only filtered rows??

Any help is appreciated

miztaken