Telerik Forums
Reporting Forum
4 answers
129 views

I have upgraded from Q3 2015 to Q3 2016 without errors.  Now any report that takes longer than 2-3 seconds to pull data does not display the data. If I click the refresh button on the report, the data populates.  This is happening with 20+ reports.

 

I am populating data programatically using a (table)_NeedDataSource event.  When the report initially loads, the need data source event is called, the data is retrieved, and the table's data source is set.  The report displays blank data, but the headers and other static report information shows.  When clicking the refresh button, the need data source event is NOT fired (as expected) but the report populates data just fine.

 

A summary of the events is here:

User presses retrieve report button.
Postback to button onclick event.
Report parameters are pulled and set from information on screen.
The following code is executed:
 
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
Reports.Accounting.TestReport.TestReport tReport = new Reports.Accounting.TestReport.TestReport();
 
instanceReportSource.ReportDocument = tReport;
rptViewer.ReportSource = instanceReportSource;
rptViewer.RefreshReport();
 
The report is fired, the table's needdatasource event called, and a datatable is created, populated, and set as the table's datasource. 

The report viewer shows the generating report status and after 2-3 seconds it displays the header/footer of the report with no data.

At this time, I can press the refresh button and no postback occurs and no page scripts are ran.  The report then populates successfully after 6-7 seconds.

 

This does not happen on reports that pull in <2 seconds.  It seems to only be happening to reports that require 2+ seconds (approximate) to pull the data.

Is there some kind of time out or new function I'm missing in the report viewer control??
Stef
Telerik team
 answered on 11 Oct 2016
10 answers
690 views

My working environment is VStudio 2010 running on Win Server 2008 R2 and the current version of Telerik Reporting.

I have a web application with a web page containing a Telerik ReportViewer. The report works fine when I run it in the development environment. I can see the report with the data from my SQL Server database.

But when I deploy the web application ilocally n the same development server (Win Server 2008R2/IIS 7) and run it the ReportViewer object is not rendered in the page. Everithing in the web page outside the ReportViewr object get rendered normally and nor error is reported but the ReportViewer object itself just shows the "X" boxes for the pictures on the top part, the export combobox and the export link. Nothing else is shown.

The web.config file has the line for ReportViewer inserted by VS as shown below:

<add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.0.10.423, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0"/>"  

Any suggestion?

Stef
Telerik team
 answered on 11 Oct 2016
1 answer
724 views

How do I set up conditional formatting on a watermark?

I only want the watermark to display when a field value = "Official" (This will place a "Official Copy" watermark on the report. )

The report is ignoring the conditional formatting rule and inserting the watermark. 

 

Katia
Telerik team
 answered on 11 Oct 2016
2 answers
120 views
hello have a report with two views (2databases), but need guidance on how to make a filter in a Table that is pointed to the second view ... that is, in the view of the original conté report, some break groups, and details of the report put the Table of the second view, now I need to filter this second view the fields that are related in one view ...
Antonio Carlos
Top achievements
Rank 1
 answered on 11 Oct 2016
1 answer
133 views

Is it possible to embed custom widgets in my reports in html view ?

For instance I have many  html kendo charts and grids created externally from telerik reporting and would like to include them in my reports in html view.

Something similar to a iframe that includes my custom widget logic.

Thanks

Nick

 

Katia
Telerik team
 answered on 11 Oct 2016
1 answer
103 views

In a report book  in html viewer is it possible to apply page transitions when moving from one page to another for powerpoint style presentations ?

Thanks.

Nick.

 

Katia
Telerik team
 answered on 11 Oct 2016
1 answer
109 views

Hello,

 

for a report a like to have a dropdown box with values to choose from.

 

According to examples I put the following code in the constructor:

ReportParameters["Agent"].AvailableValues.DataSource = new object[];

ReportParameters["Agent"].AvailableValues.ValueMember = "Fields.Item";

ReportParameters["Agent"].Visible = true;

ReportParameters["Agent"].Type = ReportParameterType.String;

 

When I compile it shows the report with a textbox on top.

 

Now when I change the code to:
ReportParameters["Agent"].AvailableValues.DataSource = new object[] {"test"};
ReportParameters["Agent"].AvailableValues.ValueMember = "Fields.Item";
ReportParameters["Agent"].Visible = true;
ReportParameters["Agent"].Type = ReportParameterType.String;

 

and I try to open the report it says:

Object reference not set to an instance of an object.

 

Source: Telerik.ReportViewer.Wpf.

I use Telerik Reporting Q2 2015.

I've loooke dover everuthing but I guess still mssing something.

 

Andy direction would be appreciated.

 

Kind regards

 

Jeroen

Jeroen
Top achievements
Rank 1
Iron
Iron
 answered on 11 Oct 2016
2 answers
312 views

continue this thread:Is there any way to export reporting as JPEG?

I create a sample project that will occour the same exception.
(Admin: The link is removed due to violation of Telerik Reporting License agreement for DEV assemblies distribution. Please, use the support ticketing system to submit demo projects.)

Thanks.

 

Peter
Telerik team
 answered on 10 Oct 2016
2 answers
236 views

Hello all!

I've got a class tied to a report that I'm building, and 3 of the properties are City, State, and Zip.  Zip is not currently sent over with a dash, just the 5-9 numbers.

I want to format zips on my report longer than 5 characters as "99999-9999", and Zips that are 5 characters "99999".  Fairly basic stuff.  I am also combining the City, State, and Zip of my report into 1 text box.

I'm trying to get cute (which is always dangerous), but I'm hoping someone can explain why this code throws a 'Specified argument was out of the range of valid values. Parameter name: startIndex' when I go to preview the report.  If I don't have more than 5 characters, I don't want it doing the insert.  Since the 'test data' is empty (as I'm just previewing the design), it shouldn't be evaluating the Insert I wouldn't think.

=Format("{0}, {1} {2}",Trim(Fields.City), Fields.State, IIf(Len(Fields.Zip)>5, Insert(Fields.Zip,5,"-"),Fields.Zip))

Thanks for any info!

Amanda
Top achievements
Rank 1
Iron
 answered on 07 Oct 2016
3 answers
56 views

I am using Q3 2015 SP1 (telerikReportViewerTemplate-9.2.15.1105). Reports are working fine on 100% zoom (100zoom.png) in HTML5 Report Viewer. But whenever I try to zoom out, last few characters of column truncates from right side(zoomout.png). Please suggest a solution.
Katia
Telerik team
 answered on 07 Oct 2016
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?