SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for ASP.Net, SQL Server, Reporting Services, T-SQL, Windows, AWS, SAP HANA and ABAP

Reporting Services ReportViewer Component


ReportViewer control can be further developed to include some more properties such as ClearSession to have "rs:ClearSession=true" functionality.

 

The default place where you can find the project folder of the ReportViewer.dll is "C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\Samples\Applications\ReportViewer"

I used the vb version of the ReportViewer so I updated the "C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\Samples\Applications\ReportViewer\vb\ReportViewer.sln" solution. I only added "ClearSession" public property to the ReportViewer class in ReportViewer.vb file.





You can download the file at /downloads/reportviewer.zip and check for the updates for ClearSession property. You can add more properties to have further functionality for your ReportViewer component used applications. The only thing to be done will be compiling the updated ReportViewer solution and replacing the reportviewer.dll with the newer one. The new version for the ReportViewer component will supply an entry point in the properties window for setting the ClearSession property in order to have a report Url having rs:clearsession=true query string parameter.

A sample project using the updated ReportViewer is also available for download at /downloads/ky.zip . You should update ServerUrl and ReportPath properties.

Related Articles and Topics

How to Build Your First Report In MS SQL Server 2005 Reporting Services
A sever error occured on the current command. The results, if any, should be discarded.
How to Add Auto Number Records, Rows or Lines In SQL Server Reporting Services by Using RowNumber Function
How can I learn the version of a running Microsoft SQL Server Reporting Services?
Reporting Sevices Raporlarında RunningValue Fonksiyonunun kullanımı
VS.NET 2003 Kullanarak İlk MS SQL Server 2000 Reporting Services Raporunuzu Oluştumak
Shared Data Source Oluşturmak
Microsoft SQL Server 2000 Reporting Services Kurulumu
E-mail Subscription'ları için Konfigürasyon Ayarları
İlk Bakışta "MS SQL Server 2000 Reporting Services"


SQL Server

SQL Server 2019 Installation
download SQL Server 2019
download SQL Server 2017
download SQL Server 2016
download SQL Server 2014
download SQL Server 2012
MacOS ve SQL Server 2019


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.