Telerik blogs
  • Productivity Reporting

    Custom Toolbar for the Web ReportViewer

    Our insatiable commitment to deliver more than expected in every aspect of our products resulted in me being curious, if we are as flexible as we think and whether one can always achieve his goal be it out of the box or with custom solution using our API and other controls if necessary. Hmmm what could that custom solution be – how about a custom Toolbar for our web ReportViewer. For those of you, who are unfamiliar with our Web ReportViewer , here is a short description – it is designed to render Telerik Reports within ASP.NET projects and it has a toolbar that...
    October 23, 2008 2 min read
  • 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 2 min read
  • 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 3 min read
  • Release

    Send Telerik Report as email attachment

    The Report Viewers (Win and Web) do not support sending of reports via e-mail out-of-the-box. To mail a report you have to first render the report programmatically into a convenient format and then attach it to a mail message. Here is a possible way of how to achieve this by using the SmtpClient object: void MailReport(Telerik.Reporting.Report report, string from, string to, string subject, string body){string mimeType; string extension; Encoding encoding; byte[] reportBytes = ReportProcessor.Render("PDF", report, null, out mimeType, out extension, out encoding); MemoryStream ms = new MemoryStream(reportBytes); ms.Position = 0; Attachment attachment = new Attachment(ms, report.Name + "." + extension); MailMessage msg = new MailMessage(from, to, subject, body); msg.Attachments.Add(attachment); SmtpClient client = new SmtpClient(smptHost); ...
    September 02, 2008 1 min read
  • Release

    Telerik Reporting Q2 2008 SP1 is now live

    Hello People,   My name is Rossen Hristov and I am a developer at the Telerik Reporting team. This is my first post and in it I would like to share some good news with you -- Telerik Reporting Q2 2008 SP1 is now officially live. We have spent the last month or so making sure that most of the issues that you have reported have been addressed carefully. This Service Pack is by far the largest we have delivered in terms of issues fixed and I would like to thank you for the great feedback that you have provided during the past...
    August 28, 2008 2 min read