Could someone please help with the following. I have a Telerik Reporting table in the groupHeader section of an exhibit. That being said I have a requirement where I need to hide one of the columns (depending on a Boolean test) and then resize the column next to it to the width of both columns to take up the space. ie: if Columns 1 & 2 width = .6 and If I hide column 2, increase the size of column 1 to 1.0R. I have added the following code to the New() method of the report but again I can only hide the column. For some reason the width (even after my line to resize it) stays at .06.
tblTest.ColumnGroups(2).Visible = False
tblTest.Body.Columns(1).Width = Telerik.Reporting.Drawing.Unit.Inch(1.0R)
If anyone could help with this issue I would be very appreciative.
Thank You in advance.
I created a sub report which contains a detail section
The detail section contains one Black Panel
This black panel contains 3 panels.
The first image shows the structure.
The black panel contains red panel, green panel and purple panel.
I find that if there is a problem if there is page break (cut off) between two small panels
The second image shows the problem I encountered.
The green panel's height is not what I expected.
Some textbox (which is inside the green panel) cannot be shown fully because the green panel's height is reduced.
I think the problem is the green panel's height is calculated wrong due to page break.
I am using telerik reporting 2014 version. Do you encounter this problem before?
Thank you for your help.
Hi!
Can anyone tell me how to use this i am facing problem while i am printing my report so i just want all columns to be fit in one page.
Please let me know about this.
Thanks.
Hi,
I have a report which has a large table in it with more than 40 columns. This table is bound to an ObjectDataSource element. Is it possible for me to iterate through each row and column after the elements are bound to the database (I guess I need to use the ItemDataBound event handler)? I have to make changes to the format and style of each cell of the table, which actually are textboxes.
I think I am able to do it also from design, using the conditional formatting and expressions to set the values of the textboxes in details section, but since I am migrating existing reports I don't want to do the whole work from scratch.
Thanks
Hi everyone!
We are using the reporting designer to create report templates (trdp) which are then parsed and rendered as pdf from an application.
What we were looking for is something like create parameters (works perfectly!) for datasource(s). Parameters can be added as many as needed with some options and default values - great! But for a datasource it is only possible to use something "real" or no data source at all (=no preview feature). A "mock" datasource or better something like a "Schema definition" used by tables for example would very awesome.
Consider the following requirement:
A report for an invoice should be designed. Now the basic fields like number, date, issuer, ... no problem, just create parameters, fill in some values and preview works perfectly. Later in code just replace the values of the parameters with real values.
Now there is also a "Table" for the invoice line items. When adding a data source (for example SQL) another person must have the same database or the database must allow remote access to get a report preview. Also the database/table for the data must exist or be designed before the report can be created.
Is it possible to get some data/data source for preview (like define a schema same as parameters (field names + type)) and fill in some dummy values.
When rendering using the application just set the DataSource property of the report with some Bussiness Object (like a list of objects with those fields and types) and those are rendered then instead.
Why?
Its very hard to create a report without having access to data or a database or event when the data design is not final yet. May the report designer needs an additional field, which is not available yet, the database must be updated first to continue or the business object (Assembly) must be changed, compiled and shared before the report can be finished. I don't think is is very "standalone" this is more like "report designer + assembly or sql sharing"
Is there something i am missing or planned for the future to use table components without the requirement of an "Assembly" with the business objects or an working SQL Connection? Just like whats an template in my opinion is: Define what is needed, and later "fill" or "provide" whats required/defined by the template - no matter how and where it is received or comming from?
Currently i am using a CSV data source with inline CSV (to define schema and demo values for preview and autocompletion of fields).
In code we are setting the data source to an business object, and the data source is replaced. This is very near of what we are looking for but isn't there a "nicer" way?
Thanks in advance!
Hello,
I upgraded our WebForms ReportViewer to the MVC HTML5 ReportViewer. Chrome and Edge work fine, but not our IE 11 browser.
The ReportViewer toolbar displays successfully, and while the content of the pages is in the DOM, it is not displaying in the browser. Using the F12 Developer Tools, I noticed if I manually change the .trv-content flex option from flex: 1 1 0 to flex: 1 1 1, the content displays successfully.
I added the TelerikReportViewerTemplate.html to my report page and pointed the css to the telerikReportViewer.css file. I added the telerikReportViewer.css to my project and overrode the css to flex: 1 1 1. While the override worked, the content was still hidden. Again, if I manually change the value using the F12 tools, the content displays.
I was finally able to update the CSS replacing the flex with display: flex; but, then the print preview does not center on the page, in any browser. This is what I will work with if I can't figure out anything else.
Interestingly, I can view the Telerik Reporting demo's just fine in IE.
Do you have any suggestions for my situation?
Hello, I'm trying to update the version of Telerik reports in my app by following the documentation steps:
https://docs.telerik.com/reporting/installation-upgrading-newer-version#old-projects-manual-upgrade .
.. however, after generating the .trdx file, when I try to render the file in html it shows the error:
"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'."
I have not found a solution to this in the documentation yet, could you help me?
Hi,
I have a small question conc Object-DataSource for report.
I gather data for the data source. Then, I have a data model which is directly available for report (I see it in report designer).
The question is: if, in data-model I have
(pure example)
...
public int Field1 { get; set; }
public int Field2 { get { return Field1 + 1; } }
...
Does it mean - each time I use Field2 in my report, Field2 is calculated, or it is calculated once the DateSource is prepared?
(I am afraid, it is calculated each time Field2 is used)...
Jola
Hello everyone,
I am newbie, in begining time i set property type Standard.
How i can change to professional type.
thanks
Hello, having an issue with multi level indents on lists.
When editing the text using the kendo rich text it appears fine, but when taking that value and rendering to a pdf, the subsequent lists have a checkbox (instead of a dot)
Is there a workaround for this?