or
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; |
} |