Telerik Forums
Reporting Forum
3 answers
149 views

When there are multiple Crosstabs on a single report, and you simply want to add an additional column to the Crosstab, ALL other Crosstabs on the report cease to function correctly again unless the crosstab causing the issue is removed, and re-added once again (or you remove the column you are attempting to add).  In this scenario, I want to add a "calculated column" to the Crosstab which displays whether or not "a question was answered".  It works absolutely fine in the first cross tab (see the Designer screen shots), however, attempting to do the exact same steps on a 2nd Crosstab causes the report to be unreadable.

 

Katia
Telerik team
 answered on 16 Aug 2016
5 answers
370 views

Hi,
I have a report that shows eg. Company and department names, I have built a filter by both of these to say

Company in Company parameter
and
Department in Department parameter

Where the Company and Department parameters are multi-value and are built from a datasource. Everything works just fine...as long as at least one company and department value are selected in the filter boxes ie. it is always filtering on these fields.

How do I get the report to display everything when nothing is selected in the filter boxes?

Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 16 Aug 2016
3 answers
138 views

Hi, I want to Show logo on kendo chart, So that When We export chart to pdf, then it should be with our logo. I need help?

 

<div kendo-chart="vm.chart"
                 k-options="vm.chartOptions"
                 k-data-source="vm.chartOptions.datasource">
            </div>

 

This is Export button Click Code:

  vm.saveAsPdf = function (event) {
            var elem ;
            if (navigator.userAgent.indexOf("Chrome") !== -1) {
                elem = event.toElement;
            }
            else {
                elem = event.currentTarget;
            }
            //$(elem).parent().next().find('.k-chart').getKendoChart().saveAsPDF();
            var chart = $(".k-chart").getKendoChart();
            title: {
                    text: "Site Visitors Stats /thousands/"
            }
            var fileName = $(elem).closest('li').children().find('.ng-binding').text().trim();
            chart.exportPDF({ paperSize: "auto", margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" } }).done(function (data) {
                kendo.saveAs({
                    dataURI: data,
                    fileName: fileName + ".pdf"
                });
            });
        }

Stef
Telerik team
 answered on 16 Aug 2016
7 answers
1.0K+ views

Hi,

I use trdx files for my reports and switch the database connection at runtime using the connection string manager code here, that code is used in a custom resolver.

Everything works fine but I have now added a parameter to my report that I would like to set the value of in c# at rutime. Looking through the connection manager code listed above I find that 'originalReportSource.Parameters' as below is empty - surely this should contain the parameter that is defined in my report or am I missing something?

ReportSource CreateInstanceReportSource(IReportDocument report, ReportSource originalReportSource)
{
    var instanceReportSource = new InstanceReportSource { ReportDocument = report };
    instanceReportSource.Parameters.AddRange(originalReportSource.Parameters);
    return instanceReportSource;
}

Stef
Telerik team
 answered on 15 Aug 2016
3 answers
384 views

I am using Telerik.Reporting in an ASP.NET MVC5 app.  We have recently upgraded to version 10.1.16.615.  When we deployed to QA, all reports fail with this message:

Error registering the viewer with the service.
An error has occurred.
Access to the path 'C:\Windows\TEMP\MvcApp\10.1.16.615\Cs\A\value.dat' is denied.

I have read several threads on this message, and tried deleting the file and then revising web.config

1. Deleting the file - no joy, next report run creates the file and throws same error.  I ma the only user on the system at this time.

2. Specifying a cache provider.  web.config contains:

under <configuration><configSections>

<section name="Telerik.Reporting" type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=10.1.16.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" />

under <configuration>

<Telerik.Reporting>
    <Cache provider="Memory" />
    <Extensions>
        <Render>
            <Extension name="IMAGE" visible="false" />
            <Extension name="MHTML" visible="false" />
            <Extension name="RTF" visible="false" />
            <Extension name="XPS" visible="false" />
        </Render>
    </Extensions>
</Telerik.Reporting>

The Extension element already existed - just showing the complete set.

Same error, not only restarted site but rebooted machine.

Ideas?

 

 

Stef
Telerik team
 answered on 15 Aug 2016
1 answer
327 views

Hi

I just installed the latest R2 reporting verson and set up an empty ASP.NET app with the standard report controller, and one simple report that I created in the Stand Alone designer (trdp).

I am calling the REST API using PostMan.

The call to formats works, as does clients, and I get a clientId

However, the call to /parameters or /instances hangs... it doesnt even show up in fiddler (whereas the other calls do).

What could be wrong?

POST http://localhost/ProjectCentral.Reporting/api/reports/clients

returns

{
  "clientId": "175035-70fc"
}

 

and

 

POST http://localhost:ProjectCentral.Reporting/api/reports/clients/173346-5ee7/parameters

{
  "report": "RDCertificate.trdp",
  "parameterValues": {
    "ProjectNumber": 2050122
  }
}

Hangs.

I am deploying to my local IIS Server on Windows 10 Anniversary Edition, 64 bit. Integrated App Pool running as Network Service, with access to the cache and reports folder (I see the cache files being written).

 

 

 

Stef
Telerik team
 answered on 15 Aug 2016
1 answer
550 views

In our testing of the report viewer, was found that it will not load properly in Microsoft Edge. It fails with the error message "This page is having a problem loading". Looking at the Report Viewer Browser support page it appears that Edge is not currently supported. Is there an ETA on when this will be a supported browser? We likely will need Edge working before we can fully consider this product.

Stef
Telerik team
 answered on 15 Aug 2016
4 answers
755 views
Hi,

I want to change the style / the theme of my report based on the User.
All my User have a UserGroup. My UserGroup has custom style.
All this information are in the DB.
UserStyle: ID | ID UserGroup | LOGO | Style 1 | Color 1 | ect..

I want change my report style with those informations.
I know it is possible to give my item a style name.
But Can i define it in the main report Code behind.

Bonus: Can I do this Only once for the Main Report?

Basically using Style Name as a CssClass.
Stef
Telerik team
 answered on 12 Aug 2016
18 answers
301 views

Hi

I am using reporting v.7.1.13.612

I have a graph with one line series, the Y axis is Numeric and the X axis is Category(numbers also).

When I have a lot of records I want to hide some of the category labels since it looks bad.

I found only a way to do that with Chart class but not with Graph class.

Thanks

Ron

Katia
Telerik team
 answered on 12 Aug 2016
2 answers
283 views

Hi Team,

 

I have used a excel to bind to my script and have done two iterations.

After the script is done when i am exporting my report, i want to see the data passed for the step in the report .But for each iteration it shows the same data whereas it runs for all sets of data in the excel :

"Enter text '/demo' in 'HdfsUrlText' - DataDriven: [$(path)]"

 

I want something of the following type i.e different data passed should be visible in the result so that we can know the difference of the result:

#Iteration1

"Enter text '/demo' in 'HdfsUrlText' - DataDriven: [$(path)]"

#Iteration2

"Enter text '/demo1' in 'HdfsUrlText' - DataDriven: [$(path)]"

 Please let me know how to set the value in the text field and make it data driven.

 

Katia
Telerik team
 answered on 12 Aug 2016
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?