Hi,
I want to change the visibility of a group section at runtime based on an 'if' condition. Once the visibility set to true/false at runtime, it is not changing the visibility status. So I tried to change the height of the group section to 0 to make it hide. But it is not changing the height. I have tried it after the 'InitializeComponent()' and also in itemdatabinding and itemdatabound events. So how can I do it??
<telerik:ReportViewer ID="rpvIssues" runat="server" Width="100%" Height="100%"> |
</telerik:ReportViewer> |
// |
// textBox1 |
// |
this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.4000000953674316, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.4999997615814209, Telerik.Reporting.Drawing.UnitType.Cm)); |
this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9999997615814209, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000008344650269, Telerik.Reporting.Drawing.UnitType.Cm)); |
this.textBox1.Value = "DETAIL SAMPLE TEXT"; |
// |
// textBox2 |
// |
this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.2999999523162842, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.2000000476837158, Telerik.Reporting.Drawing.UnitType.Cm)); |
this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.0000002384185791, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.59999990463256836, Telerik.Reporting.Drawing.UnitType.Cm)); |
this.textBox2.Value = "TITLE SAMPLE TEXT"; |
protected void Page_Load(object sender, EventArgs e) |
{ |
teste t = new teste(); |
rpvIssues.Report = t; |
} |
Hello,
Have a question about the maximum with of a report.
I’m exporting a Radgrid to a report with help of the RadGridReportingLite project.
The export works nice!
The only trouble is controlling the size of the report.
I would like to fit all the columns of the radgrid into one row in the report.
When the screen is maximized not all columns fit on the row in the report. When I downsize the screen enough the all the columns fit into one row on the report.
The property FitToPageSize makes no difference
Anny suggestion on how to force the repport to show all the columns on one row.
Kind regards,
Tim van Rooijen
PS.
Sorry about my english, I’m dutch