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)?
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;
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.
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.
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?
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.
How to show Zoom Percentage Selection in ReportViewer WebForms Q3 2014? There is a property ShowZoomSelectbut it is now deprecated. So what is the new equivalent property for this and how to use it?