Aspose.Flash for Reporting Services
| Author |
|
| Company |
Aspose Pty Ltd |
| Source Code Available |
No |
| License Type |
Free to try |
| Submitted On |
June 22, 2011 |
| Updated on |
August 15, 2011 |
| .NET Framework |
1.x, 2.0, 3.5 |
| Cost |
$399 |
Description
Aspose.Flash for Reporting Services is a robust .NET solution allowing you to export Flash SWF and FLV format reports in Microsoft SQL Server 2005 and 2008 Reporting Services. It can also be integrated with Microsoft Report Viewer control. Aspose.Flash for Reporting Services is the ideal product for anyone looking to generate SWF and FLV reports in Microsoft SQL Server Reporting Services.
Export to SWF Format
Aspose.Flash for Reporting Services allows you to deliver SWF reports in Microsoft SQL Server Reporting Services. Aspose.Flash for Reporting Services adds SWF export format in the export format list of reporting services as ‘SWF – Flash Presentation via Aspose.Flash'.
Export to FLV Format
Aspose.Flash for Reporting Services allows you to convert Microsoft SQL Server Reporting Services reports into FLV format. Aspose.Flash for Reporting Services adds FLV export format in the export format list of reporting services as ‘FLV – Flash Video Presentation via Aspose.Flash’.
Microsoft Report Viewer
Aspose.Flash for Reporting Services supports Microsoft Report Viewer control for Microsoft SQL Server 2005 Reporting Services and Microsoft SQL Server 2008 Reporting Services in local mode.
Easy and Lightweight Deployment
Aspose.Flash for Reporting Services is a custom rendering extension for Microsoft SQL Server 2005 and 2008 Reporting Services. Aspose.Flash for Reporting Services is provided as a single MSI installer that can install on the computers running either Microsoft SQL Server 2005 Reporting Services or Microsoft SQL Server 2008 Reporting Services. Aspose.Flash for Reporting Services is easy to deploy and manage, as it is comprised of only one .NET assembly Aspose.Flash.ReportingServices.dll.
Syntax Example
Integrate with Microsoft Report Viewer in Local Mode
Step 1. Add a Reference to Aspose.Flash.ReportingServices.dll to your project.
Step 2. Copy and paste the following AddExtension method into your project.
[C#]
using System.Collections;
using System.Reflection;
using Microsoft.ReportingServices.ReportRendering;
// Use one of the two namespaces below depending on
//whether you are developing a WinForms or WebForms application.
using Microsoft.Reporting.WinForms;
// -- or --
// using Microsoft.Reporting.WebForms;
///
/// Adds the specified rendering extension
/// to the specified ReportViewer instance.
///
/// A ReportViewer control instance.
/// The name of the export format
/// to appear on the dropdown list.
/// The class of the
/// rendering extension to add.
private static void AddExtension(
ReportViewer viewer, string formatName, Type extensionType)
{
const BindingFlags flags =
BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance;
// and add Aspose.Flash for Reporting Services rendering extensions
//to make SWF export format appear on the dropdown.
// Get the service type.
FieldInfo previewService =
viewer.LocalReport.GetType().GetField("m_previewService", flags);
MethodInfo listRenderingExtensions =
previewService.FieldType.GetMethod("ListRenderingExtensions", flags);
IList extensions = listRenderingExtensions.Invoke(
previewService.GetValue(viewer.LocalReport), null) as IList;
Assembly commonAssembly = typeof(IRenderingExtension).Assembly;
Type localRenderingExtensionInfoType =
ConstructorInfo ctor = localRenderingExtensionInfoType.GetConstructor(flags,
null, new Type[] { typeof(string), typeof(string),
typeof(bool), typeof(Type), typeof(bool) },
null);
object instance = ctor.Invoke(new object[]
{ formatName, formatName, true, extensionType, true });
extensions.Add(instance);}
Screenshots
Reviews
Submit a review