Telerik Forums
Reporting Forum
11 answers
1.6K+ views
 Hi,
i have a problem with sum function on a textbox, this function round the values to zero decimal places.
i use the Q2 2010 version.
please see this exemple on images.

best reguards,
Francisco

Stef
Telerik team
 answered on 16 Apr 2015
1 answer
57 views

Reporting 2015 Q1 SP1 Two or more sub report datasource error.

All sub report is loaded first sub report datasource.

Please reply as soon as possible, thank you.

Stef
Telerik team
 answered on 15 Apr 2015
1 answer
117 views

Is there any update on support for reporting from C++? Any plans for that?

Has anyone used the COM interop approach to create a typelib for the managed dll of the reporting engine or alternatively used CLI to call it from C++?

Stef
Telerik team
 answered on 15 Apr 2015
1 answer
137 views

We're using the ReportViewer control with the Standalone report designer in a VB.net website.

The designer's .trdx files are uploaded to the server, which are then serialised to XML and stored for later use. When the reports are run, we convert the report to a Telerik.Reporting.InstanceReportSource
like this (just the relevant code here, the objects also load parameters into the report object but the issues occur even when there are no parameters present in the report):

Private _ReportObject As Telerik.Reporting.Report
Private _oInstanceReportSource As Telerik.Reporting.InstanceReportSource

 

ReportObject = DirectCast(New Telerik.Reporting.XmlSerialization.ReportXmlSerializer().Deserialize(New System.IO.StringReader(_ReportXML)), Telerik.Reporting.Report)

 

_oInstanceReportSource.ReportDocument = ReportObject

 

 

We change the connection string to point to the local database and run the reports from there using code from the forum here, and bind the report to the control using the instanceReportSource

rptView.ReportSource = _oInstanceReportSource
rptView.DataBind()

We've made sure to only use the reporting engine data sources (sqldatasource) and we're able to change all the connection strings from whatever they were set up with in the report using code we pulled from the forums here.

So far, so good.

We have intermittent errors:

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode

However, it's not consistent. Refreshing the page a few times (sometimes once, sometimes 12 or so refreshes) will eventually lead to the report working correctly.

It's a big production environment where we're using StateServer mode and using inProc session state isn't possible. It happens on our dev machines when we're using local IIS as well as our test server.

Stef
Telerik team
 answered on 15 Apr 2015
1 answer
563 views

Hi,

 Is there any way to use Byte array (which I convert from PDF) as an instanceReportSource? 

 Here is my scenario, I need to generate TWO report, say Report A and Report B. Report A is a subset of report B. Report A is generated first (at the beginning of the business cycle), then saved as byte array (in the database). then at the end of the business cycle, I need to generate Report B, which half top of it is exactly a copy of Report A. How can i achieve this using the byte array off Report A i already have?

 

Thanks & Regards,

Rafa

Stef
Telerik team
 answered on 15 Apr 2015
1 answer
74 views

 

I made this (attached) using 3 htmlblocks. However in the future I need it to come from the database.

Is there anyway html or rich-formatted-text could come from a single column in a dataset and spread across 3 columns?

In my other reports I have html from the DB displayed, but I do not have it in 3 columns.

 

 

Stef
Telerik team
 answered on 14 Apr 2015
4 answers
838 views
Hello

A user asked us if it's possible to "change the font size for printing".
I guess this isn't really possible, since the text boxes are fixed sizes and positions and if the text would get bigger it just would be cut...?
So my question: Is it possible to choose the scaling of a report? E. g. if I've designed an A4-report, choose a scaling of 200% and get 4 printed A4 pages?

Thx

P.S. @Steff: There are some open answers from you to threads by me. I'll come back to them by time...
Fridli Jacober
Top achievements
Rank 1
 answered on 13 Apr 2015
8 answers
219 views
Hello,

I added two Buttons to the default Silverlight ReportViewer Style.

Now I like to bind these two Buttons to a command.
For this I made a class which inherited from ReportViewerModel.
Unfortunatly this will not work. The ReportViewerModel as no contstructor.
Error Message: Telerik.ReportViewer.Silverlight.ReportViewerModel Type has no constructors defined'

My question:
How can I bind Commands to the two new Buttons in the Style?

Thank you,
Manuel
zsy zsy
Top achievements
Rank 1
 answered on 13 Apr 2015
3 answers
152 views

I have a report with a parameter set at the datasource level to pull the Top N results from the database.

I would like to be able to display the current value of the Top N datasource parameter in a text box in the body of my report.

Is there a way to do this simply?

i.e.

Datasource Parameter: @topCount

Text Box: Top {@topCount} Records by Total

Sadie
Top achievements
Rank 2
 answered on 10 Apr 2015
3 answers
625 views
I have a custom report resolver that implements IReportResolver.Resolve(string). The execution of this method does quite a few things that can go wrong in my setup. I catch and log the exceptions but throwing it will always cause the reporting service to hide the actual exception and will replace it with a generic "Unable to get report parameters: Report 'reportId' cannot be resolved."

How can I display the actual exception to the user (I'm using the html5 report viewer)?
Stef
Telerik team
 answered on 10 Apr 2015
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?