• .NET

    Using Telerik Report WCF Service (or how to display reports in RadBook)

    December 02, 2009 Share
    If you are following the Telerik Reporting product closely you may already know that with the 2009 Q3 release we entered the Silverlight game. The industry's first native Silverlight Report Viewer allows you to display Telerik Reports in your Silverlight application while having all goodies that the Windows Forms and Web viewers offer. The new member of the report viewers' family sports report parameters, the new document map, true printing and export to all available formats, including PDF, Image (TIFF, PNG, JPEG, BMP, GIF), Microsoft Excel (XLS), Rich Text Format (RTF), HTML, CSV and the new XPS. And all this power wouldn't...
  • .NET

    Horizontal Table for your reports

    October 16, 2009 Share
    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...
  • .NET

    Filtering with string parameter that allows free user input

    September 17, 2009 Share
    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...
  • .NET

    Changing the position of the report progress indicator

    September 09, 2009 Share
    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...
  • .NET

    Reporting: Using connectionStrings from configuration file

    August 28, 2009 Share
    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...