Hi Guys,
I have a data structure like this:
Headers
ID Desc
1 Head1
2 Head 2
------------------------------------------
Lines
ID HeadID
1 1
2 1
3 1
4 2
Etc. is there a possiblity to handle this inside on report so that it shows the header + the lines for this header and then breaks the page and continues with the next header?
Also is there a way to show the page no not based of the total pages but based of the "sub documents" e.g. page per Header in my case?
Cheers
We are evaluating the Telerik reporting products and one requirement is that the stand-along designer must be able to connect directly to a SQLite database.
Not knowing whether the report designer is only compatible with a particular version of SQLite , we have installed various versions of it but cannot find any option within the designer to allow us to connect to the database. Searching the forum we found a post for a similar request dated back in 2012 that suggested changing the exe 'config' file but that did not appear to work in our case.
Any help would be greatly appreciated.
Chris
=Fields.Data[0]
hi
How To Print Directly To The Default Printer On Clicking On Telerik ReportViewer , without showing window.print() window
Regards,
Chaitanya
Hi,
I only have installed Telerik Reporting R2 2016 SP1 ,An error occurred when open ReportDesigner.
See Attached.
Hello
when a .trdp file contains custom user function,error information see attached.
Telerik.Reporting.UriReportSource uriReportSource =new Telerik.Reporting.UriReportSource();
uriReportSource.Uri = RootDir + "\\TestReport\\HomePage.trdp";
Telerik.Reporting.Processing.RenderingResult result =reportProcessor.RenderReport("pdf", uriReportSource, deviceInfo);
Hello.
I need your help please. first my development conditions are limited. i can't use the Design tap just use program code. bcs does not work a sqlDataSource tool in Telerik. to connect a DB server only use our cust command. retrun type is a DataTable when use cust command.
so i found tip and succeeded by reference this code.
------------------------------------------------------------------------------------------------------------
private void table1_NeedDataSource(object sender, EventArgs e)
{
//HttpContext context = HttpContext.Current; // If you need the table from Session
//DataTable dt = (DataTable)context.Session["data"];
DataTable dt2 = new DataTable();
dt2.Clear();
dt2.TableName = "name table 2";
dt2.Columns.Add("column1");
dt2.Columns.Add("column2");
DataRow _rowAdd = dt2.NewRow();
_rowAdd["column1"] = "11";
_rowAdd["column2"] = "55";
dt2.Rows.Add(_rowAdd);
_rowAdd = dt2.NewRow();
_rowAdd["column1"] = "22";
_rowAdd["column2"] = "33";
dt2.Rows.Add(_rowAdd);
_rowAdd = dt2.NewRow();
_rowAdd["column1"] = "aa";
_rowAdd["column2"] = "bb";
dt2.Rows.Add(_rowAdd);
//if you need to rename the columns:
//for (int k = 0; k < dt.Columns.Count; k++)
//{
// dt.Columns[k].ColumnName = dt.Columns[k].ColumnName.ToLower().Replace("|", "").Replace(" ", "").Replace("\", "");
//}
table1.DataSource = dt2;
Telerik.Reporting.HtmlTextBox textboxGroup;
Telerik.Reporting.HtmlTextBox textBoxTable;
table1.ColumnGroups.Clear();
table1.Body.Columns.Clear();
table1.Body.Rows.Clear();
int ColCount = dt2.Columns.Count;
for (int i = 0; i <= ColCount -1; i++)
{
Telerik.Reporting.TableGroup tableGroupColumn = new Telerik.Reporting.TableGroup();
table1.ColumnGroups.Add(tableGroupColumn);
tableGroupColumn.Name = i.ToString(); //very important this "Name" because of a Telerik bug is needed
textboxGroup = new Telerik.Reporting.HtmlTextBox();
textboxGroup.Style.BorderColor.Default = Color.Black;
textboxGroup.Style.BorderStyle.Default = BorderType.Solid;
textboxGroup.Value = dt2.Columns[i].ColumnName;
textboxGroup.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
tableGroupColumn.ReportItem = textboxGroup;
textBoxTable = new Telerik.Reporting.HtmlTextBox();
textBoxTable.Value = "=Fields." + dt2.Columns[i].ColumnName;
textBoxTable.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
table1.Body.SetCellContent(0, i, textBoxTable);
table1.Items.AddRange(new ReportItemBase[] { textBoxTable, textboxGroup });
}
}
------------------------------------------------------------------------------------------------------------
When i have succeeded up to screen is 'now.png' file and what I want here is a SEQNO cell merge. like 'want.png'
And return table is dynamic. often change a rows of a SEQNO and SUBNO column.
i found cell merge tip in this fourm. but other tips used a Design tap or not dynamic table.
I could not find to code it. so i need help.
Thank you.