Telerik Forums
Reporting Forum
1 answer
305 views
I'm using the HTML5 report viewer with an ObjectDataSource.  The model referenced by the ObjectDataSource is populated by a logic call from a service that is injected in my MVC reports controller.  Unless the model exposes a static method to get the data for the report, no data is returned in the report (all fields are empty).  However, when the method is static, two different clients accessing two different sets of data (different filter parameters in the controller), are stepping on each other, and the wrong report is rendered for the second user.  For example, if I log in to my application from two different browsers (Chrome and FF, for example), load the report with different data filter parameters in each browser (which should display two different reports), and then refresh both browsers simultaneously, both render the same report because of the static method.  Obviously, this is a big problem for a multi-user web application - it is assumed that a report should be accessible by many users that are viewing different data.

How can an ObjectDataSource be used with non-static methods?  Or, assuming you have a business logic layer call that returns a collection of objects to feed a Telerik report, how should an HTML5 Telerik report be architected for multi-user access, where the same report can be rendered simultaneously for multiple users accessing different data (invoices for example)?

Thanks!
Stef
Telerik team
 answered on 08 Jan 2015
4 answers
488 views
Hi,

I am using the system font for controls while designing the reports.  

But those fonts are not shown up in the generated report pdf in even though the font installed in the system.

Stef
Telerik team
 answered on 07 Jan 2015
2 answers
778 views
  1. Hi,
    Currently my Client is converting pdf document which is generated to AFP document before printing them.But they are facing issues while converting PDF to AFP and then to print. They are getting blank screen while conversion.

    In our investigation we found that in his system encoding format is ANSI , but ours is Identity-H.

    So we want to change the encoding to ANSI while generating pdf document.

    Below is the sample code we are using
     
     1) aspx.cs file
          Telerik.Reporting.ReportBook rptListBook = new Telerik.Reporting.ReportBook();
          rptListBook.Reports.Add('Adding some report item here');
          ReportViewer1.Report = rptListBook;

    2) aspx file
       <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="1px" Width="1px" ToolbarVisible="False" />

Please do the needful.

Stef
Telerik team
 answered on 07 Jan 2015
2 answers
256 views
I'm working on some crosstab reports that span multiple pages horizontally. The requirement is for each page header to indicate which columns are on that page e.g on page on it should say "Scenarios 1.1 to 1.6", on page 2 "Scenarios 1.7 to 2.5" etc.   The values (1.1., 1.2, 1.3 etc) would be from one of the column groups.

I can't work out how to do this or even if it is possible.  The attached png shows a mockup showing what I've been asked to achieve.
J
Top achievements
Rank 1
 answered on 07 Jan 2015
2 answers
123 views
hi, i'm creating this report where the Graph Legend appear more than 1 time. what am'i missing here?

Hinata
Top achievements
Rank 1
 answered on 02 Jan 2015
4 answers
197 views
Hi,

I'd like to know if there is a way to choose the default export type selected. Indeed, i restricted the export to the PDF export only and I want to select it by default.

Thanks in advance

Jonathan
Stef
Telerik team
 answered on 02 Jan 2015
1 answer
258 views
i have created a report using the telerik report wizard, as a table. set the properties for keep together false and page break to after, but when i build and preview the report, it displays all data on one very long page.

how do i force the data to display on more than one page?
Stef
Telerik team
 answered on 01 Jan 2015
1 answer
123 views
Hello Telerik Forums - 

In the detail section of my report I have an image as the first column and four textboxes to the right.  I am using a field in the dataset to control the image.visible via bindings.  In the rows where image.visible = false now all controls in that row are shifted left to occupy the space where the image was.  How do I get the columns to line regardless of whether the image is visible or not? 

Image included shows the Design and Preview views.

Thanks
Happy New Year!!
Stef
Telerik team
 answered on 01 Jan 2015
3 answers
346 views
Hi,

How to show Zoom Percentage Selection in ReportViewer WebForms Q3 2014? There is a property ShowZoomSelect but it is now deprecated. So what is the new equivalent property for this and how to use it?

Thanks & Regards,
Rafa
Rafa
Top achievements
Rank 1
 answered on 31 Dec 2014
1 answer
60 views
Hi!

I'm trying to create a line chart report using the same data model which I use in my Kendo UI line chart. The model looks like this:

public class ChartData
{
public DateTime Date { get; set; }
public int VisitsCount { get; set; }
public int IdeasCount { get; set; }
public int CommentsCount { get; set; }
...
}

The model used by Kendo UI chart has a list of ChartData object. To create a line chart using Kendo UI I have to do something like this:

@(Html.Kendo().Chart(Model)
...
        .Series(series =>
                {
                        series.Line(model => model.VisitsCount);
                        series.Line(model => model.IdeasCount);
                        series.Line(model => model.CommentsCount);
                })
        .CategoryAxis(axis => axis.Categories(model => model.Date))
        .ValueAxis(axis => axis.Numeric())
...

How can I add a line chart in the Telerik Reporting framework to achieve the same effect? I have problems with setting it up and the only tutorial with creating a line chart with Telerik Reporting uses different data source structure (http://www.telerik.com/help/reporting/graphhowtocreatelinechart.html).

I would really appreciate your help.
Best regards,
Natalia
Natalia
Top achievements
Rank 1
 answered on 30 Dec 2014
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?