Telerik Forums
Reporting Forum
1 answer
110 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
379 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
71 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
360 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
657 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
458 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
758 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
7 answers
205 views

Hello,

I have a problem with reports.

I created a report with this sections (see "report.jpg" from attached files):

- groupHeaderSection (with property "printOnEveryPage = true")
    - groupHeaderSection (for each subject)
        - Detail
    - groupFooterSection (with property "visible = false")
- groupFooterSection (with property "printOnEveryPage = false" and "pageBreak = After")
 
My problem is... If I find a example with the detail section finish at the end of page, the next page show overlap between
groupHeaderSection and groupFooterSection (see "overlap.jpg" from attached files).

The groupHeaderSection properties: see "groupheadersection.jpg" from attached files.
The groupFooterSection properties: see "groupFooterSection.jpg" from attached files.

It's very difficult for me to explain you my problem becouse my english is not very good, I wait you understand me.

Regards



Stef
Telerik team
 answered on 30 Nov 2016
1 answer
377 views
How can we most easily perform the follwoing directly from the Stanalone Report designer?

//Get the current user name from the CurrentUserName Session variable
string un = HttpContext.Current.Session["CurrentUserName"].ToString();

//Set a value to a Report Parameter1 used in a report filter
report1.ReportParameters["Parameter1"].Value = un;
Stef
Telerik team
 answered on 30 Nov 2016
4 answers
253 views

Hi,

I am developing a web application with Angular 2 (Typescript ). Its not a .NET web application. I am also using Kendo UI. I wants use telerik reporting for my application.

Is there any way to use telerik reporting (without C#/VB) in my application? If any, please give me a sample code.

Thanks

Md Nasir Uddin

Stef
Telerik team
 answered on 29 Nov 2016
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?