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?
Hi,
Is it possible for the ReportViewer to use your RadSaveDialog during exportation.
Thanks
Marc
Helllo All,
I have been working with Telerik Windows Forms.
I already migrated a project from Silverlight Viewer to Windows Forms viewer, the issue that I have is when I print a report the print dialog does not contain an option to shrink oversized reports to letter size.
The option was available on Silverlight.
Is there any configuration to perform the shrink automatically in execution time? We have a lot of reports with different sizes but we want to avoid modifying all the reports format.
Thanks in advance.