Telerik blogs
  • Release

    Telerik Reporting internal build available for download (v3.1.9.1113)

    Last week we released a new internal build for Telerik Reporting which addresses several important issues, including the "The expression contains object 'Item' that is not defined in the current context." error when binding to an list/array of objects. Check the Release Notes and get the latest internal build from the Latest Internal Builds area (log in required)....
    May 27, 2021 1 min read
  • Productivity Reporting

    Horizontal Table for your reports

    Recent question that popped up from an user was how to create a table, where the table grows horizontally instead of vertically. This is easy as one, two, three when using our Table report item. I start off using the crosstab item as initial template for this task. As the table would be growing "in columns" instead of "in rows", we do not need a row group so we delete it. Then bind the crosstab to a sample business object making sure we've added as many static rows as we need. Next step in order to show all the data, we need to make sure that...
    May 27, 2021 2 min read
  • Productivity Reporting

    Filtering with string parameter that allows free user input

    As you probably know, Telerik Reporting comes with built-in parameters and filters. Report parameters allow users to specify or control the data used in a report. They are extremely powerful when used in expressions for filtering, sorting, grouping or even directly provide a value. When used with filters you can limit the number of records in a report based on specified filter rules. If the conditions of the rules are met, the record is included in the report.  Let's suppose we have a string parameter that allows free user input, wired up with a filter. This way the user has the freedom to type any word and the report would be filtered based on the parameter...
    May 27, 2021 2 min read
  • Productivity

    Changing the position of the report progress indicator

    By design the progress indicator of the web report viewer is centered in the viewable area. However in some cases you might want to change its position (e.g. ReportViewer longer than a viewable page). To achieve that we would get the progress area through a few lines of javascript and change its position according to our needs: <script type="text/javascript">                  var viewer = <%=ReportViewer1.ClientID%>;                 var waitDiv = document.getElementById("ReportViewer1_ReportArea_WaitControl");                 var tcell = waitDiv.getElementsByTagName("TD")[0];                 tcell.style.verticalAlign = "top";                 tcell.style.textAlign = "left";     </script>     A sample project showing this functionality is available in this code library article. For those of you who would also like to change the viewer's skin and progress indicator itself, please review Applying custom skin to the web report viewer code library. Hope this helps! Steve...
    May 27, 2021 1 min read
  • Productivity Reporting

    Reporting: Using connectionStrings from configuration file

    We've been asked several times, what is the right way of using connection strings from the configuration file, so that Telerik Reports would work both in run time and design time. The answer can be found in this new Knowledge Base article: Using connectionStrings from configuration file It is worth mentioning that the Report and Data Source Wizards do this automatically when instructed to save the selected connection string in the config file. A working solution using the approach from the latter article can be found in our Visual Studio examples. Enjoy! ---------------- Steve...
    May 27, 2021 1 min read