Telerik Forums
Reporting Forum
4 answers
196 views
I'm having a fairly serious problem getting the report to break after my group. When I set the group sections PageBreak = After, the report no longer generates! It just sits there for a long time showing the 'generating report', and then finally errors out with the following error:

Telerik.ReportViewer.WinForms.ReportViewerException: The ReportViewer control handle failed to create. 
   at Telerik.ReportViewer.WinForms.ReportViewerBase.OnRenderingComplete(RenderingThreadResult result, PostRenderArgs args) 
   at Telerik.ReportViewer.WinForms.RenderingThread.OnComplete(RenderingThreadArgs args, RenderingThreadResult result) 
   at Telerik.ReportViewer.WinForms.RenderingThread.ThreadFunc(Object o) 
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state) 
   at System.Threading.ExecutionContext.runTryCode(Object userData) 
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) 
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) 
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 
   at System.Threading.ThreadHelper.ThreadStart(Object obj) 

I thought it might be the report itself that was corrupted or something so I used the wizard to whip up a brand new report using the same data source, but I've still got the same problem.

The report is simply structured:

Group
        Data
        Data
Group
        Data

The grouping section is a single field, with only standard fields in the data, and it works 100% great - IF I don't specify the Pagebreak = After. It even works if I set PageBreak = Before, but then of course I get a blank page at the beginning of the report, which is crap.

To set the data for the report I'm just creating the report, calling the database and returning a generic dataset structured exactly the same as the report dataset, and the setting the report's datasource = to the returned data.

EDIT: I've also just tried setting the datasource in the NeedDataSource event handler, but it still sits there and crashes when I close the report viewer.

How do I get around this / fix this issue?


Stef
Telerik team
 answered on 08 Oct 2015
1 answer
207 views

Hi,

Is there a way to log report loading time in production environment when using Asp.Net Report viewer?

By the way I try to review IIs log file to get the request time and i found all reports urls comes with InstanceID and I can't to know which InstanceID related to which report

Nasko
Telerik team
 answered on 07 Oct 2015
1 answer
109 views

I am trying to add a new Report Viewing Window in my Visual Studio 2013 developed WPF application. I already have a report defined in a separate class library and now I am trying to use that report in my WPF app. I am trying to Add New Item and from the WPF category I choose "Telerik Report Viewer Window Q3 2015". I name it accordingly and then I am presented with a form to configure the source of the report. I choose Existing Report Definition. Once I select Existing Report Definition, the only option I have is "TRDX report definition created in Report Designer". The other option, "Type report definition created in Visual Studio" is not enabled. My report was created in the Visual Studio designer, so I would expect to use this option. There's a progress bar that says "Loading types...". I wait on it for close to a minute or so, hoping that it will find my report and it will allow me to select it. It doesn't because the Visual Studio crashes and then it reopens on its own. I need to reload the entire solution and basically start the whole process all over again.

 Does anyone else have the same experience and if you do, how did you solve it?

TIA,

Eddie

Stef
Telerik team
 answered on 07 Oct 2015
6 answers
875 views
Hello,

I have a table which is binded to a datasource,  which calls a function to get a list as the result[datasource = datasource.GetValues()]. I have a table to which I have binded this datasource.
Right now I have binded the datafields of the table to =Fields.Name, if the list has five names I see five pages.

The design of the report should be such that first item of the list should be in the first column, second item should be in the next column and so on....Please let me know how to so this.

Regards
Jess
Stef
Telerik team
 answered on 07 Oct 2015
1 answer
89 views

Hi

i am using HTM5 report viewer in MVC application.

Look in http://www.telerik.com/help/reporting/connecting-to-data-working-with-data-at-design-time.html .In the Data source available only at runtime section, it is said to mock your data just to enable the Report Designer to show any data schema. How can i mock my data?i don't want to add datasource Another question is that if assign a data source at design time,will NeedDataSource event of report will fire or not ? Please let me know.

Sabbir
Nasko
Telerik team
 answered on 07 Oct 2015
2 answers
111 views

Trying to integrated HTML 5 viewer and REST service into my existing application, but have hit a wall I can't for the life of me work out

 Report (very simple file, just plain text) is being executed as output in the Debug window

DocumentFormat.OpenXml.Packaging.WordprocessingDocument
DocumentFormat.OpenXml.Packaging.PresentationDocument
DocumentFormat.OpenXml.Packaging.SpreadsheetDocument
 
*** RenderReport #0 STARTED ***
*** RenderReport #0 DONE in 00:00:00.2709344 ***

 All calls to the service are executing successfully as shown in the Fiddler log

POST http://localhost:36584/api/reports/clients
200 OK (application/json)
 
POST http://localhost:36584/api/reports/clients/112900-47f1/parameters
200 OK (application/json)
 
POST http://localhost:36584/api/reports/clients/112900-47f1/instances
201 Created (application/json)
 
POST http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents
202 Accepted (application/json)
 
GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/info
202 Accepted (application/json)
 
GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/info
202 Accepted (application/json)
 
GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/info
200 OK (application/json)
 
GET http://localhost:36584/api/reports/clients/112900-47f1/instances/102544-4330/documents/112901-c304112901-f7a7/pages/1
200 OK (application/json)

Output from the main call seems OK 

pageContent=<div><div class="sheet page1" style="padding-left:0px;padding-right:0px;padding-top:0px;padding-bottom:0px;width:605px;height:340px;"><div class="layer"><div title="" class="Report2 s0-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:76px;width:605px;height:189px;"></div><div title="" class="Group s0-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:76px;width:605px;height:189px;"></div><div title="" class="detailSection1 s1-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:76px;width:605px;height:189px;"></div><div title="" class="textBox1 s2-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:249px;top:151px;width:108px;height:38px;"><div style="position:absolute;top:0px;white-space:pre;left:3px;">THIS IS ONLY A </div><div style="position:absolute;top:15px;white-space:pre;left:3px;">TEST !!!!!!!!!!!</div></div><div title="" class="pageHeaderSection1 s3-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:0px;width:605px;height:76px;"></div><div title="" class="pageFooterSection1 s4-112901-c304112901-f7a7" style="position:absolute;overflow:hidden;left:0px;top:265px;width:605px;height:75px;"></div><div class="trial">Telerik Reporting v9.1 trial version. Copyright Telerik AD © 2006-2015.<br />To remove this message, please obtain a commercial version from <a href="http://www.telerik.com" target="_blank">www.telerik.com</a></div></div></div></div>

Yet my UI still remains at the default / placeholder text of Loading ...

app.controller("reportViewController", function () {
    $("#reportViewer1")
    .telerik_ReportViewer({
        serviceUrl: '/api/reports/',
        templateUrl: '/ReportViewer/templates/telerikReportViewerTemplate-9.1.15.731.html',
        reportSource: {
            report: 'Report1.trdx',
            parameters: {
                CultureID: "en"
            }
        },
        scaleMode: telerikReportViewer.ScaleModes.FIT_PAGE,
        scale: 1.0
    });
});

<style>
    #reportViewer1 {
        position: absolute;
        left: 5px;
        right: 5px;
        top: 5px;
        bottom: 5px;
        font-family: 'segoe ui', 'ms sans serif';
        overflow: hidden;
    }
</style>
 
<div id="parent">
    <div id="reportViewer1" class="k-widget">
        LOADING ...
    </div>
</div>

Thanks in advance!

Stef
Telerik team
 answered on 02 Oct 2015
3 answers
319 views

Hey Guys ,

 

I have used the examples below to create a pie chart and set the data alignment to outside column assuming this would fix overlapping data labels. how ever this did not seem to change anything and my data labels are still overlapping am i missing something is there a setting i forgot to set or change??

http://www.telerik.com/help/reporting/graphhowtocreatepiechart.html

http://www.telerik.com/help/reporting/piecharts.html​

Stef
Telerik team
 answered on 02 Oct 2015
3 answers
343 views
Hi,

Is it possible to convert a Crystal Report report to a Telerik Report using the Telerik Report Designer?

If so, how?
If not, can I put it on the feature request list? :)

I have tried to convert several Crystal Report files by adding then onto a page, but this way I cant seem to convert it to a TRDX file..
And since we need to check them all by hand using the Report Designer it would be a very neat feature in the Report Designer.

Insad
Stef
Telerik team
 answered on 02 Oct 2015
3 answers
75 views

Hey folks,

 Was just wondering if it would be possible to get an status update on this reporting feature request? http://feedback.telerik.com/Project/162/Feedback/Details/128861-nested-tables-should-not-be-kept-together - its currently showing as being in development and looks like its been that way since last year.

 

Thanks.

Stef
Telerik team
 answered on 02 Oct 2015
3 answers
128 views

Hi

Do we have smart labels feature for telerik reporting graph? lot of cool features in chart are missing in graph or we are not able to find.

do you have a comparison sheet of what features are missing in reporting.graph compared to reporting.chart?

1. smart labels

2. label aligned to vertical position

3. tooltips on mouseover on bars 

4. auto resize graph if we have lot of data?

can you suggest us how to implement these as labels could have long names or lot of chart datapoints we would like to show on mouseover etc.

 

Stef
Telerik team
 answered on 02 Oct 2015
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?