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

Resizing Telerik reports

0 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jim Harris
Top achievements
Rank 1
Jim Harris asked on 31 Aug 2011, 05:10 PM
I have several reports that I have designed where I have optional fields that appear at the left margin of the report. Based on parameters provided the fields on the left side will be hidden but I also need to resize the report so that the dead space is not seen. I have tried making the fields invisible and setting the width of the fields to 0 and then setting the report widths as follows:
                this.Width = new Telerik.Reporting.Drawing.Unit(19.0D, Telerik.Reporting.Drawing.UnitType.Inch);
                this.Report_Detail.Report.Report.Width = new Telerik.Reporting.Drawing.Unit(19.0D, Telerik.Reporting.Drawing.UnitType.Inch);
                this.reportHeader.Report.Report.Width = new Telerik.Reporting.Drawing.Unit(19.0D, Telerik.Reporting.Drawing.UnitType.Inch);
                txReportHeader.Width = new Telerik.Reporting.Drawing.Unit(19.0D, Telerik.Reporting.Drawing.UnitType.Inch);
                this.pageFooter.Report.Report.Width = new Telerik.Reporting.Drawing.Unit(19.0D, Telerik.Reporting.Drawing.UnitType.Inch);

I assumed that in ding this that everything would shift left eliminating the dead space but this is not the case. Does anyone have any ideas for how this can be accomplished simply without having to go through the hassles of repositioning all other fields.

Any help would be appreciated.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Jim Harris
Top achievements
Rank 1
Share this question
or