Hi, I'm facing problem with latest reporting (Q3 2012). I'm trying to format charts on one report, but everytime I save and build, those changes are reverted as if I did nothing.
What I'm trying to change is to:
I'm using VS2008, fully patched. In this project, I use Reporting Q3 2012, but I have installed Reporting Q2 2009 SP1 and Reporting Q1 2012.
Is there any way how to fix it myself/known workaround. Thanks in advance.
Daniel
I am trying to build a dynamic report with many tables which have different columns definition.
My source is a list of data table
My code is:
public EntregaReport() { InitializeComponent(); var list = Entrega.GetEntregaDocumentos("BERK_122"); HtmlTextBox textboxHeader; HtmlTextBox textBox; foreach (DataTable dataTable in list) { Table table = new Table(); //SetTableProperties(ref table); detail.Items.Add(table); table.ColumnHeadersPrintOnEveryPage = true; table.DataSource = dataTable; Telerik.Reporting.HtmlTextBox textboxGroup; Telerik.Reporting.HtmlTextBox textBoxTable; table.ColumnGroups.Clear(); table.Body.Columns.Clear(); table.Body.Rows.Clear(); int colCount = dataTable.Columns.Count; for (int i = 0; i <= colCount - 1; i++) { Telerik.Reporting.TableGroup tableGroupColumn = new Telerik.Reporting.TableGroup(); table.ColumnGroups.Add(tableGroupColumn); table.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1))); textboxGroup = new Telerik.Reporting.HtmlTextBox(); textboxGroup.Style.BorderColor.Default = Color.Black; textboxGroup.Style.BorderStyle.Default = BorderType.Solid; textboxGroup.Value = dataTable.Columns[i].ColumnName; textboxGroup.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3)); tableGroupColumn.ReportItem = textboxGroup; textBoxTable = new Telerik.Reporting.HtmlTextBox(); //textBoxTable.Style.BorderColor.Default = Color.Black; //textBoxTable.Style.BorderStyle.Default = BorderType.Solid; textBoxTable.Value = "=Fields." + dataTable.Columns[i].ColumnName; textBoxTable.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3)); table.Body.SetCellContent(0, i, textBoxTable); table.Items.AddRange(new ReportItemBase[] { textBoxTable, textboxGroup }); } } }It´s seems the tables are created but the data is not bind, do I miss something.
Thanks Jochanan
Telrik Reporting Forum…
First, I would like to commend you in developing a great tool for developing Web based reports. A lot easier than generating the HTML and DB calls. Bravo!
The reason I am writing is I have an issue that seems common when I Google it and browse Telerik Forums, but I haven’t found the solution that will resolve it for the Customer Service Application I developed.
Basically, I pull note data from my SQL Stored Procedure that has embedded carriage returns and line feeds. The data is then bound to a textobox control on the report. When the report is viewed, the carriage returns and line feeds are not retained, so all the text is ran together.
I am thinking, but not sure exactly how to to it, I have to some how strip the the carriage returns and line feeds and replace them before rendering control. The thing is, since I can't see these characters, I am not sure what to search for. Some of the note data is copied from Outlook E-Mails, maybe Word and pasted in the note field prior to saving the database.
1. With that said, what is best approach for my situation?
2. What event do I need to place code in do the search/replace?
3. What Telerik Report Control should I use?
The Technical Specs are as follows:
ASP .net 4 VB
SQL 2008 DB
Telerik Q3 2001
Thanks In Advance
Good morning,
Well, I have a problem where I would like for more than two items per line in the report barrade tools.
Follow the image for better understanding.
link for image
Sorry for my english google.