Hi,
I have two problems about the table control:
1)I'm trying to display the table rows in different pages, but unfirtunatily, all rows are displayed in one page in the HTML Preview mode (In the normal Preview mode the table rows are displayed in defferent pages - REQUIRED situation). Can you please explain to me how to do that?
2) By trying to export the report to pdf file, all report items are exported except to the above table (View attached screen-shots), why? and how can I handle this issue?
Below is the table design code:
Please, I need your help,
Regards,
Bader
I have two problems about the table control:
1)I'm trying to display the table rows in different pages, but unfirtunatily, all rows are displayed in one page in the HTML Preview mode (In the normal Preview mode the table rows are displayed in defferent pages - REQUIRED situation). Can you please explain to me how to do that?
2) By trying to export the report to pdf file, all report items are exported except to the above table (View attached screen-shots), why? and how can I handle this issue?
Below is the table design code:
//
// subTasksTable
//
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.99269747734069824D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.76236891746521D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.65212559700012207D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(2.5210821628570557D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(2.1588101387023926D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.5260298252105713D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.5722570419311523D, Telerik.Reporting.Drawing.UnitType.Inch)));
this.subTasksTable.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.66027981042861938D, Telerik.Reporting.Drawing.UnitType.Cm)));
this.subTasksTable.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.92489641904830933D, Telerik.Reporting.Drawing.UnitType.Cm)));
this.subTasksTable.Body.SetCellContent(0, 1, this.textBox1);
this.subTasksTable.Body.SetCellContent(1, 1, this.textBox2);
this.subTasksTable.Body.SetCellContent(0, 3, this.textBox3);
this.subTasksTable.Body.SetCellContent(1, 3, this.textBox4);
this.subTasksTable.Body.SetCellContent(1, 2, this.textBox5);
this.subTasksTable.Body.SetCellContent(0, 2, this.textBox6);
this.subTasksTable.Body.SetCellContent(0, 4, this.textBox7);
this.subTasksTable.Body.SetCellContent(1, 4, this.textBox8);
this.subTasksTable.Body.SetCellContent(0, 5, this.textBox9);
this.subTasksTable.Body.SetCellContent(1, 5, this.textBox10);
this.subTasksTable.Body.SetCellContent(0, 0, this.textBox11);
this.subTasksTable.Body.SetCellContent(1, 0, this.textBox12);
this.subTasksTable.Body.SetCellContent(0, 6, this.textBox13);
this.subTasksTable.Body.SetCellContent(1, 6, this.textBox14);
tableGroup1.Name = "Group3";
tableGroup5.Name = "Group1";
tableGroup6.Name = "Group2";
tableGroup7.Name = "Group4";
this.subTasksTable.ColumnGroups.Add(tableGroup1);
this.subTasksTable.ColumnGroups.Add(tableGroup2);
this.subTasksTable.ColumnGroups.Add(tableGroup3);
this.subTasksTable.ColumnGroups.Add(tableGroup4);
this.subTasksTable.ColumnGroups.Add(tableGroup5);
this.subTasksTable.ColumnGroups.Add(tableGroup6);
this.subTasksTable.ColumnGroups.Add(tableGroup7);
this.subTasksTable.DataMember = "";
this.subTasksTable.DataSource = this.subTasksDataSet;
this.subTasksTable.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
this.textBox1,
this.textBox2,
this.textBox3,
this.textBox4,
this.textBox5,
this.textBox6,
this.textBox7,
this.textBox8,
this.textBox9,
this.textBox10,
this.textBox11,
this.textBox12,
this.textBox13,
this.textBox14});
this.subTasksTable.KeepTogether = false;
this.subTasksTable.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.2539999783039093D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(7.619999885559082D, Telerik.Reporting.Drawing.UnitType.Cm));
this.subTasksTable.Name = "subTasksTable";
tableGroup9.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] {
new Telerik.Reporting.Data.Grouping("")});
tableGroup9.Name = "detailGroup";
this.subTasksTable.RowGroups.Add(tableGroup8);
this.subTasksTable.RowGroups.Add(tableGroup9);
this.subTasksTable.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(10.185371398925781D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.5851762294769287D, Telerik.Reporting.Drawing.UnitType.Cm));
this.subTasksTable.ItemDataBinding += new System.EventHandler(this.subTasksTable_ItemDataBinding);
this.subTasksTable.ItemDataBound += new System.EventHandler(this.subTasksTable_ItemDataBound);
Please, I need your help,
Regards,
Bader