If you have created a Microsoft Reporting Server report with a drillthrough. The user can Navigate to another report by clicking a link. This will fire the ReportViewer.Drilltrhough event on a ReportViewer control in ASP .NET 2.0. The DrillthroughEventArgs contains the new ReportPath. With this information you can create navigate to the correct URL on you’re ASP .NET 2.0 website.

        protected void ReportViewer1_Drillthrough(object sender, Microsoft.Reporting.WebForms.DrillthroughEventArgs e)
        {
            Response.Redirect(string.Format("Test.aspx?reportPath={0}", e.ReportPath));
        }

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.