• .NET

    Programmatic Initialization of Report Parameter Values in Telerik Reporting Silverlight Viewer

    Usually one may control the report appearance and the data it displays through report parameters. The Silverlight report viewer, just like the other two, offers built-in user interface that enables end users to interact with the reports. Still there are cases when one may further need to control the report definition according to a custom logic that runs in the client application. However, since we have introduced the Silverlight Report Viewer the greatest challenge our clients have faced is that there is no direct access to the report definition in the Silverlight application.   To provide the ability to specify the parameter...
    December 07, 2009
  • .NET

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

    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...
    December 02, 2009
  • .NET

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

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

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