Telerik blogs
  • Productivity Reporting

    Reporting: assembly scoped user functions

    Hi guys, We've been having requests for the feature in the title for some time and finally we were able to introduce it in the Q3 SP2 release.  Generally user functions allow you to extend the default behavior of the Telerik Reporting engine. They are public static  (Public Shared in VB.NET) methods that should always return a value and can take an arbitrary number of input parameters depending on your needs. They are public static, because they are not related to a concrete instance of a report. They are executed by the expression engine and work in the context of the report processing. If you...
    May 27, 2021 2 min read
  • 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...
    May 27, 2021 2 min read
  • 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...
    May 27, 2021 2 min read
  • Productivity Reporting

    Hide duplicates in a column

    In some cases you might want to hide duplicates in a single "column" - for example if you group by a field, it would be nice to present the data in a more clean way.
    May 27, 2021 1 min read
  • 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     {        ...
    January 27, 2025 2 min read