Telerik blogs
  • Productivity Reporting

    Reporting: How to set default value for a multivalue parameter

    Generally when you want to set a default value for a parameter, you use the Value property of the parameter (this.ReportParameters["MyParam"].Value), but what to set when you want all values to be selected by default  i.e you have a multivalue parameter? You can do that by providing an ArrayList containing all your values to the report parameter Value property. For consistency of the Tips & Tricks series, I am going to use the project from the Using Report parameters UI to sort by column blog post. Let's make the SortByColumn parameter accept multivalues by setting the MultiValue property to True. We...
    January 16, 2009
  • Productivity Reporting

    "The strange case of Adobe Acrobat" or why do images in Telerik Reports get fuzzy when exported to PDF

    First, I would like to wish you all Happy New Year! Hope it brings you everything you have asked for! Now up to today's words (post) of wisdom: In the last couple of days a few people reported that images placed in Telerik Report, which normally look ok, start looking fuzzy when exported to PDF. We got scared for two reasons:  This has not been reported prior to our latest release We've introduced new rendering mechanism in the latest release When you combine those, you cannot help but feel that we have somehow messed things up. Fortunately, after a quick investigation, the problem proved...
    January 07, 2009
  • Productivity Reporting

    Using Report parameters UI to sort by column

    Our 'series' of tips and tricks for Telerik Reporting continues with this neat approach to sort the report by column. We would create a sample report using the AdventureWorks database that comes with our examples and use a single table with few columns that are easy to remember namely FirstName, LastName, Title .. you know the drill :) In order to use the built-in parameters area of the report, we would need to create a report Parameter that lists the column names. We can do that by creating a Business object that holds this for us:   public class ColumnSelector : DataTable     {        ...
    November 21, 2008
  • Release

    Telerik Reporting Q2 2008 SP2 is now live

    Our continuous commitment to provide prompt fixes and excellent support for our products has resulted in a second Service Pack of Telerik Reporting. While smaller than the first one, it still contains important bug fixes and improvements. Here is a summary of what has been fixed: Report parameters are not displayed when Session State mode in SQLServer or StateServer. Sometimes font-size is not set correctly in HTML rendering. WinViewer.ToolbarVisible is not serialized correctly at design-time when the viewer is in a hidden container. Adding Dock or Anchor first and then setting KeepTogether does not warn of incompatibility. It simply crashes the...
    September 25, 2008
  • Productivity

    Image caching in PDF

    Over the past few days I worked on an image caching mechanism in the PDF Rendering Extension and I am happy to announce that the achieved output size reduction was more than significant. The Problem When a report contains the same binary image many times, the PDF Rendering Extension has no way of knowing that it is actually one and the same and renders it many times thus wasting disc space. For an illustration of this case imagine that you have your company's logo in the page header and your report is 200 pages long. The Solution: Enter Cyclic Redundancy Check I've implemented a central...
    September 09, 2008