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.
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.