Telerik Forums
Reporting Forum
1 answer
314 views

I have a report with a simple table and groupings.  One cell of this report contains a sub report.  The sub report has its own data source and functions well on its own (so I know the problem is not the sub report).  When I go to connect the parameters from the sub report to the main report, I cannot find them in the 'Edit Parameters' dialog.  I should be able to open this 'Edit Parameters' dialog, click add new, and the parameters from my sub report should be populated in the drop down.  I have added the parameters pragmatically as well but they are still not recognized.

Has anyone seen this issue?

Katia
Telerik team
 answered on 06 Dec 2016
3 answers
450 views

Hi

In the release history i have just seen that there is now support for custom authentication token in HTML5 viewers available. How to set the authentication token? Are any examples out there?

 

Thanks for your help. :)

Stef
Telerik team
 answered on 05 Dec 2016
1 answer
1.2K+ views

I need to show telerik report with some table, images and chart. The data for report is coming from REST API. This report needs to be severed from MVC application.

I designed report from standalone designer (.trdx) file and used as CSV data source (File location provided as Url of MVC App) into the report. Used this report file in MVC application to show in report viewer. This works fine, but I have one problem there, I have filter field (Report Parameters) of type String with Multivalue with following values:

- This week

- Last week

- Last month

Based on this selection value, I need to fetch report data from REST service and need to convert this report data into CSV. To achieve this I need to get the filter value in backend when user clicks on preview button of report. I am not able to find a way to do this, I checked examples comes with reporting installation but not able to find a way there. Does anyone know how to achieve this?

Another question is, does CSVDataSource component is good choice, or need to switch to Object Data Source as most of video's recommend that. If yes the how to get the parameter value in the class.

Stef
Telerik team
 answered on 05 Dec 2016
1 answer
102 views

Hi 

I have a report which contains two tables one table has two 3 columns and in one column contains subreport and the other table doesn't have a column containing subreport. My problem its when the report its generated the subreport columns are not same number it depends on parameters chosen so the two table don't equal in width. I want to set two tables to be equal in width regardless of how many columns of a sub report returns.

Katia
Telerik team
 answered on 05 Dec 2016
1 answer
365 views

Hi,

I am currently trying to use the HTML 5 Reportviewer to connect to an IIS Hosted site using CORS. Both my website and the API site are using SSL/TLS. I was able to successfully connect and display a report on a non ssl test site. However with SSL enabled, I am receiving a mixed content error. after reviewing the error logs in developer tools I see that the Reportviewer is attempting to make two requests using http (http://myiissite/api/reports/clients and http://myiissite/api/reports/resources/styles/telerikReportViewer-css) and these requests are being blocked by the browser/jquery. Both of these sites have url rewrite rules that will force https.

 

I suppose my question is, is there some way to force the Reportviewer widget to make these requests over https? If not what can I do?

 

My configuration

    Django/Apache2 site that is using the html5 reportviewer - hosted on aws

    .NET/IIS site that hosts the Reporting API - hosted on a windows machine

 

    $('#kendoViewer').telerik_ReportViewer({
    serviceUrl: "https://myiissite/api/reports/",
    templateUrl: "/static/ReportViewer/templates/telerikReportViewerTemplate-FA.html",
    reportSource: { report: "myReport.trdp"}
    });

Stef
Telerik team
 answered on 05 Dec 2016
2 answers
67 views

Trying to follow this original thread:http://www.telerik.com/forums/asp-net-mvc4-using-pass-model-to-objectdatasource#n3Sejx7cSEKjJ3clQNeH7w which is closed.

 

I modified the mvc project to display the ListBoundReport directly, using a custom resolver.

 

public class CustomReportResolver : IReportResolver
    {
        ReportSource IReportResolver.Resolve(string report)
        {
          
            var nreport = new ListBoundReport();

            var ds = new Cars().GetRange(1, 2);

            nreport.DataSource = ds;
            var irs = new InstanceReportSource { ReportDocument = nreport };
 
            return irs;
        
        }
    }

 

This displays the same 7 original cars

            nreport.DataSource = null; did not clear the items

If I remove the datasource from the report (objectDataSource1.DataSource) It will display two records, but both will be blank (not tied to the values).

Please explain both behaviors:

1. Why setting the Datasource has no effect

2. Why after removing Datasource from report only works half way (not bound to fields)

And what we need to do to get this to work correctly

Thanks, 

Steve

 

Katia
Telerik team
 answered on 05 Dec 2016
6 answers
338 views

I have followed the instructions for adding the Telerik HTML5 MVC Report Viewer Item Template to our MVC application.

I can see all the folders, the reportscontroller and the reportviewerview.

The reportscontroller does not have an action to return the reportviewerview like I am familiar with.

I cannot figure out how to get the controller to show the report viewer.  Any help would be greatly appreciated.

Regards, 

Kurt

Stef
Telerik team
 answered on 02 Dec 2016
3 answers
621 views

Hi Forum,

I am attempting to add a filter to a grid using the Top N filter operator with Value = 5 so that the grid contains only the top 5 rows based on the value in the column being used for the filter.  If, for example, 8 rows have the same value for this column, which is the highest value in the dataset, all 8 rows will be displayed in the grid.  

Is there a way to ensure an arbitrary tiebreak so that there are never more rows than the specified N value?

Thank you

 

Katia
Telerik team
 answered on 02 Dec 2016
2 answers
415 views
I am getting the error message "
An error has occured while processing HtmlTextBox 'htmlTextBox1':
" when my report is displayed. The rest of the report looks just fine.

The data the is supposed to be in the textbox is just a string w/o any HTML markup ("Mother & sister w/ thyroid dz. Positive for CA & HTN.").

This was working in my testing environment and when I moved it to my production environment I began to get the error.

Are there any common problems with the HtmlTextBox that I should be aware of? Is there something I could do to get the true error message?
PH
Top achievements
Rank 2
 answered on 01 Dec 2016
6 answers
729 views

Using http:\\localhost the report runs fine

Using http:\\<domain> all I get is the loading...

I know that the "loading..." comes from the HTML and that the Telerik report viewer is driven by JQUERY so it must be some issue with IIS and the Telerik component but I can't figure out what and I don't know how to diagnose further

I searched this forum and tried various solutions to similar situations but when this happens (just shows "loading...") but

1) I'm not getting any errors in the Server Windows log

2) Fiddler doesn't show any problems (unless I am not looking in the right place)

 

Stef
Telerik team
 answered on 30 Nov 2016
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?