Telerik Forums
Reporting Forum
2 answers
83 views

I have made a bar graph that drills down to graphs with many labels.

A picture of the graph is attached.

 

As you can see, the main categories don't fit when drilled down. Also, the subcategories' labels are too long and there doesn't seem to be a way to make them multiline.

This is really a make or break for us as this graph represents pretty much the whole reason we put together this tool in the first place.

Is there anything we can do to format the graph properly? 

 

As a workaround, is there a way to detect which bar on a graph is clicked and load another report based on the "value" associated with that particular bar?

 

Thanks.

Katia
Telerik team
 answered on 27 Feb 2017
1 answer
55 views

I need to build a report (in Visual Studio) that takes an ObjectDataSource, and groups the data into separate pages.  Each page needs to contain 2 charts and a table that deal with that particular group of data.

How can I approach this?  There is some documentation on page breaks on groups in a table, but my pages need to contain charts as well.  Is there a demo that shows how to build what I need?

Eventually I will also need to add this report into a ReportBook, but first things first.  

Stef
Telerik team
 answered on 27 Feb 2017
3 answers
186 views

a simple parent/child report (parent in header, child in detail) was changed to add a grandchild) subreport to the detail, just after the child row. in "preview" the report renders correctly. but when creating a PDF the subreport, by itself, appears on a second page.

in the PDF both pages contain the same header/footer. the first page contains the detail without subreport & the second page contains the sureport without detail.

again what's so confusing is it look fine in "preview' (using the same data).

tried setting "canshrink" to false on both report & subreport. no difference.

the report was upsided to Reporting DLL 10.2.16.1025.

any ideas?

Stef
Telerik team
 answered on 27 Feb 2017
1 answer
173 views

Hello,

 

I recently set up a report in ASP.NET MVC. The report viewer is created using the HTML helper in the razor view. Everything works except for the date pickers for some ReportParameters and the dropdown menu for exporting the report.

When I hover/click on either of those controls I get the following JS error: elem.getClientRects is not a function

I suspect I am missing a JS file.

The JS files included in the page are (in order of inclusion):

  1. telerikReportViewer.kendo-11.0.17.222.min.js
  2. telerikReportViewer-11.0.17.222.min.js

The CSS files included are (in order of inclusion):

  1. kendo.common.min.css
  2. kendo.blueopal.min.css

The ENTIRE view for the report viewer looks like:

@model Telerik.Reporting.TypeReportSource
 
@using Telerik.Reporting
@using Telerik.ReportViewer.Mvc
 
@section style {
    @Styles.Render("~/Content/css/KendoReporting")
 
    <style>
        #reportViewer1 {
            position: relative;
            margin-left:auto;
            margin-right:auto;
            width: 900px;
            height: 900px;
            font-family: Verdana, Arial;
        }
    </style>
}
 
 
@section scripts {
    @Scripts.Render("~/bundles/KendoReporting")
}
     
 
@(Html.TelerikReporting().ReportViewer()
        .Id("reportViewer1")
        .ServiceUrl(Url.Content("~/api/reports"))
        .ReportSource(Model)
        .ViewMode(ViewMode.Interactive)
        .ScaleMode(ScaleMode.Specific)
        .Scale(1.0)
        .PersistSession(false)
        .PrintMode(PrintMode.AutoSelect)
 
)

 

And finally the bundles used look like:

//Telerik Reporting Bundles
            bundles.Add(new ScriptBundle("~/bundles/KendoReporting").Include(               
                "~/Scripts/Local/ReportViewer/telerikReportViewer-11.0.17.222.min.js",
                "~/Scripts/Local/ReportViewer/telerikReportViewer.kendo-11.0.17.222.min.js"));
 
            bundles.Add(new StyleBundle("~/Content/css/KendoReporting").Include(
                "~/Content/kendo.common.min.css",
                "~/Content/kendo.blueopal.min.css"));

 

In the main view layout, the JS files are loaded FIRST in the head, then the CSS files.

 

Thank you!

Stef
Telerik team
 answered on 24 Feb 2017
2 answers
107 views
I'm getting a rather generic error message when I go to add a new blank report to my project. The same happens when I try to run the wizard. The error message is just "Object reference not set to an instance of an object". I'm using Visual Studio 2013 and Telerik reporting version 11.0.17.118. Any help would be appreciated
Stef
Telerik team
 answered on 24 Feb 2017
1 answer
89 views

Hello,

 

I have the following:

 

@(Html.TelerikReporting().ReportViewer()
.Id("reportViewer1")
.ServiceUrl(Url.Content("~/api/reports"))
.ReportSource(new TypeReportSource() { TypeName = Model.AssemblyQualifiedName })
.ViewMode(ViewMode.Interactive)
.ScaleMode(ScaleMode.Specific)
.Scale(1.0)
.PersistSession(false)
.PrintMode(PrintMode.AutoSelect)
)

 

All I want to do now is add a DateTimePicker in order to edit 2 date parameters in the report. I see that there is a DateTime parameter editor but the documentation is so incredibly lacking in this aspect I have no clue how to use it.

 

We are thinking of purchasing reporting (and maybe others) but the documentation so far has been sub-par.

 

Thank you.

Stef
Telerik team
 answered on 24 Feb 2017
3 answers
338 views

Hello,

I have a bar chart in my report and it is getting value from the telerik SQL, so the scenario is :

if i have data from telerik SQL =0.0002356 , then it is shown on bar, but

if i have data from telerik SQL=0.0000000, then it is showing nothing (and it should show 0 on the bar )

 

so, what i want on my report, if i get data less than 1 from my telerik SQL, then it should show 0 for that particular bar in the telerik report run time .(I have implemented this in SQL but there is no use of that in telerik report, because i think the report does not show value 0)

please help.

Katia
Telerik team
 answered on 23 Feb 2017
5 answers
339 views
Initially it worked and then for some unknown reason, the Data Source Type list failed to appear at all.

Would like to know if there's a workaround. Have tried a reinstall of Reporting and that does not change anything.

How can I add a datasource in code that will appear in the designer. Have tried hacking the designer code but that gets overwritten.
An example would be good otherwise it's going to prove difficult to use Reporting at all.

Screen shot attached.

Rute
Top achievements
Rank 1
 answered on 22 Feb 2017
9 answers
332 views
there are few carryover threads in forum nor knowledge base. and I'm really lost.

I need RUNNING page total
----------------------------- page1
1
2
3
page sum:6
----------------------------- page2
carryover:6
1
1
1
page sum:9                        -> sum of all previous pages and this page
-----------------------------page3
2
2
2
page sum:15                        -> sum of all previous pages and this page
grand total: 15                        -> sum of all pages

how can I achieve this ? invoice with multiple pages need previous running totals on top of each page. please, some how it must be done. I use latest telerik reporting version.

my sql is very simple: "select explanation, amount from invoices."

Katia
Telerik team
 answered on 22 Feb 2017
1 answer
74 views

Hello,
i want to print labels in report designer (stand alone).
My fields are all in the detail section. All works fine, but i have one problem.
If the value of one field, for example is three, i need this label three times.
All others just one time.
How can i handel this?
Kindly regards
Ralf

Katia
Telerik team
 answered on 22 Feb 2017
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?