Telerik Forums
Reporting Forum
3 answers
213 views

Shouldn't the page footer print on every page even if I'm using a ReportBook?

 

In the end I'm going to combine 2 different reports but for testing this I'm just adding 1 report twice (or more, the page footer only shows on the last page).

 

This is my code, am I doing something wrong?

 

Imports Telerik.Reporting

Partial Class MA_PrintPreview
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim report As New Reports2.ContractNew
        report.ReportParameters(0).Value = Me.Request.QueryString("PlanID")

        Dim reportBook As New ReportBook()
        reportBook.Reports.Add(report)
        reportBook.Reports.Add(report)


        Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
        instanceReportSource.ReportDocument = reportBook
        'ReportViewer1.Report = report

        ReportViewer1.ReportSource = instanceReportSource

    End Sub
End Class

Warren
Top achievements
Rank 1
 answered on 08 Jul 2016
3 answers
306 views

Hi guys,

any suggestions on how to achieve the following:

- When exporting a report to word some of the paragraphs (telerik report text boxes) marked as having Word Styles (Heading 1/2/3...)

- When exporting a report to word some of the paragraphs (telerik report text boxes) marked as Word Numbering/Bullet.

Katia
Telerik team
 answered on 08 Jul 2016
1 answer
257 views

Hi,

We have main report which will fetch data from db and display it in report. when user click on data row we are navigating to another report.

In our another report we have to show filtered data of main report.

We don't  want to re fetch same data again  from db.  So how we can pass main report datasource  to another report ?

What  is the best way to implement. we are using 2015 q3

 

Nasko
Telerik team
 answered on 08 Jul 2016
1 answer
303 views
Hello. How can I disable the borders around the detail section visible only when exported into PDF? It is not enabled in the designer, so I dont understand, why it can be seen in the preview or when it is exported into PDF. When printed out, top and bottom borders of the detail section are printed (sides are not). See the attached screenshots of the exported pdf. Thank you
Nasko
Telerik team
 answered on 08 Jul 2016
1 answer
260 views

Hello,

   We are currently having a problem seeing the design view on one of our existing reports in Visual Studio 2015, all that shows up is the options(attatched) when we click on it. None of the options load up the designer view, along with any options on the menu for these options. We have tried going through the Upgrade Wizard process and building many times but that didn't help either. We are currently using Telerik Reporting Q3 version 9.2.15.1126.

Nasko
Telerik team
 answered on 08 Jul 2016
1 answer
180 views

I am attempting to replicate the Sales Dashboard demo report in that you have a line chart within the pivot table.

I have a simple dataset that has my categories of items as row data and the months as columns. The pivot table is reporting all data properly.

I create a line chart outside of the pivot table and it displays correctly in that all categories are plotted on the chart. I then move that chart into cell within the pivot table.

Upon preview, for each row, the chart is displayed but shows all categories rather then the data for the category row. 

It appears that there is no "filter" being passed into my chart. I have attempted to review how you did this in your example but can't seem to figure it out.

Would it be possible to get some screen shots showing what needs to be done to pass the current rows "ID" into my chart to filter it?

Note that going back and forth between my report and your sample causes the properties windows to collapse so it is easy to loose where you are looking in the properties section.

Any help would be really appreciated. Thanks.

Nasko
Telerik team
 answered on 08 Jul 2016
2 answers
217 views
Why one field not appears if I insert it in ReportHeaderSection?
Dario Concilio
Top achievements
Rank 2
 answered on 08 Jul 2016
1 answer
191 views

I'm trying to output a report from a web application. It's a certificate. Have put the report together and there's batch of these in one output. There's a also 4 sub reports in the main report and I'm passing the main primary key (ObjectID) as parameters to each sub report. So I'm using a filter as follows to the main report:

Telerik.Reporting.Filter filter1 = new Telerik.Reporting.Filter();
filter1.Expression = filterExpression;
filter1.Operator = Telerik.Reporting.FilterOperator.Equal;
filter1.Value = "=True";
certificate.Filters.Add(filter1);
And the filter expression (filterExpression) looks like:

Field.ObjectID = 'rururu9-r84848ue-ririri-rroo' OR Field.ObjectID='094949o4-494949-o49494lkkd9e9-e9e9e' and so on. Obviously those are not correctly formatted or valid GUIDs and only samples.

When I run the report I get the following error. InnerException = {"Invalid value of report parameter 'ObjectID'."}. If I remove the parameters passed through to the sub reports, it works fine - I see the reports and only the reports I want so the filter is working. Each sub report has a parameter called ObjectID and it is linked to the sub report as ObjectID = Field.ObjectID.

Any ideas on why the link and parameters passing doesn't work.

 

Tom
Top achievements
Rank 1
 answered on 07 Jul 2016
9 answers
1.8K+ views
I have recently switched from using the Web Forms report viewer to using the HTML5 Report Viewer for my .NET MVC4 application.  When I try to generate the report, it sometimes works, and sometimes gives the error:

Client with ID 'xxxxxx-xxxx' not found. Expired.

This seems to happen only when deployed on azure, on multiple instances.  I do however have shared cacheing set up which was working fine with the web forms report viewer.

I am initializing the code with 
@{
    var typeReportSource = new TypeReportSource() { TypeName = typeof(MyClass).AssemblyQualifiedName };
}
@(   
   Html.TelerikReporting().ReportViewer()
   .Id("reportViewer1")
   .ServiceUrl("/api/reports/")
   .TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
   .ReportSource(typeReportSource)
   .ViewMode(ViewModes.INTERACTIVE)
   .ScaleMode(ScaleModes.SPECIFIC)
   .Scale(1.0)
   .PersistSession(true)
)

This happens much more frequently on windows Azure, however I have been able to get it to happen locally, however only by repeatedly spamming the refresh button.
I have not been able to find any cases of anyone receiving this error so any light shinned upon this would be amazing. 


Katia
Telerik team
 answered on 07 Jul 2016
1 answer
807 views

Hi to all,

I have a ObjectDataSource that has a property that return List of object

I would use this ones to populate a table object, after that Group by a particular field of list.

But when I try to add group on this table and try to exec report, It show me an error "This field not found in context"

 

Ex. I tryed to group on ReportItem.DataObject.RawData.FamilyCode

Table is in binding with MyMainObject.Rows that returns List<MyDetailedObject>

MyDetailedObject.FamilyCode exists!

Why?

Nasko
Telerik team
 answered on 07 Jul 2016
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?