Telerik Forums
Reporting Forum
1 answer
484 views

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!

Todor
Telerik team
 answered on 18 Jul 2018
3 answers
387 views

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?

Nasko
Telerik team
 answered on 17 Jul 2018
3 answers
2.5K+ views

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?

 

 


Todor
Telerik team
 answered on 17 Jul 2018
0 answers
144 views

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

Jolanta
Top achievements
Rank 1
Veteran
 asked on 16 Jul 2018
1 answer
81 views

Hello everyone,

 

I am newbie, in begining time i set property type Standard.

How i can change to professional type.

thanks

Nasko
Telerik team
 answered on 16 Jul 2018
2 answers
339 views

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?

 

Joon-Sae
Top achievements
Rank 1
 answered on 16 Jul 2018
3 answers
660 views
hi...

I have attached screen shots of my reports below.
First screen shot is our existing report that have been created using crystal report
Now we want to recreate this report using telerik reports.
second image is new telarik report
I was able to create the report using textbox to make it look like old one, but I cannot continue the boarders in white space between the group footer section and report footer where I display the total values.

I have attached screen shots of sample project I created.
In 3rd image design view I placed group footer and page footer together but when rendering white space is created between group footer and page footer
How can I remove the white space between group footer and page footer?, or  move the group footer to the end of the report.
Nasko
Telerik team
 answered on 16 Jul 2018
1 answer
425 views
Hi Team,

I am developing a report in standalone report designer. I have added a table and a SQL server data source. When I configure the data source and provide a SQL query and click execute in the configure box, the query fetches the data. But when I publish the report to the server and web preview it gives below error-

"An error has occurred while processing Table 'table1':

A network-related or instance-specific error occurred while establishing a 
connection to SQL Server. The server was not found or was not accessible. 
Verify that the instance name is correct and that SQL Server is configured to 
allow remote connections. (provider: TCP Provider, error: 0 - No such host is 
known.)
------------- InnerException -------------
No such host is known"

Could you please help?

Regards,

Ashwini
Silviya
Telerik team
 answered on 16 Jul 2018
2 answers
95 views

Hi,

Is it possible for the ReportViewer to use your RadSaveDialog during exportation.

 

Thanks

Marc

Marc-Andre
Top achievements
Rank 1
 answered on 14 Jul 2018
1 answer
418 views

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.

Silviya
Telerik team
 answered on 13 Jul 2018
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?