Hi all ,
i have two ultragrids binded to different sources .. i want to print the values into a document as a single one .. please help me
Hi Arun,
May I be of any further assistance regarding this issue?
If you have any questions, regarding the attached sample or the solution, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Chris,
I just took a look at your code and it works great for me. But both grids print out right on top of another. Is there a way to put a bit of padding between them?
Also, I have not found a way to control the width of the printed grid. Is there a way to do this?
Thanks,
Gary
Add a gap between the two grid exports...
//Assign the Grid data to the newly generated report section //This will allow the Grid data to be displayed on the same document this.ultraGridDocumentExporter1.Export(this.ultraGrid1, reportSection); Infragistics.Documents.Reports.Report.IGap gap = reportSection.AddGap(); gap.Height = new FixedHeight(10); this.ultraGridDocumentExporter1.Export(this.ultraGrid2, reportSection);
Hi Gary,I am looking into approaches for these behaviors and I will follow up on this thread shortly with my findings.If you have any further questions at all in the meantime, please let me know.Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support