Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7806939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:41:37+00:00 2026-06-02T02:41:37+00:00

I have a rdlc report name attendence.rdlc which take three parameter employeeId,monthId and year

  • 0

I have a rdlc report name attendence.rdlc which take three parameter employeeId,monthId and year to generate employee’s monthly attendance status.Like
enter image description here

When i click >> button Like :
enter image description here

i need to call drillthrough (in my case same report) report increasing month and year’s parameter.

enter image description here

How to create a drillthrough even handler in rdlc report?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:41:39+00:00Added an answer on June 2, 2026 at 2:41 am

    My problem have been solved.In rdlc when someone calling goto_report/goto_url..it’s actually called by Drillthrough report.So if i create na even handler obviously outside of postback url like

     protected void Page_Load(object sender, EventArgs e)
     { 
    
     if (!IsPostBack)
        {
           //otherscode u need
           //now call report first time
          string path = HttpContext.Current.Server.MapPath(your report path);
          ReportViewer1.Reset(); //important
          ReportViewer1.ProcessingMode = ProcessingMode.Local;
          ReportViewer1.LocalReport.EnableHyperlinks = true;
    
          LocalReport objReport = ReportViewer1.LocalReport;
          objReport.DataSources.Clear();
          objReport.ReportPath = path;
    
          // Add Parameter if you need
          List<ReportParameter> parameters = new List<ReportParameter>();
          parameters.Add(new ReportParameter("parameterName", ParameterValue));
          ReportViewer1.LocalReport.SetParameters(parameters);
          ReportViewer1.ShowParameterPrompts = false;
          ReportViewer1.ShowPromptAreaButton = false;
          ReportViewer1.LocalReport.Refresh();
    
          //Add Datasourdce
          ReportDataSource reportDataSource = new ReportDataSource();
          reportDataSource.Name = "odsReportData";
          reportDataSource.Value = YourReportDataSourseValue;
          objReport.DataSources.Add(reportDataSource);
          objReport.Refresh();
        }
    
        ReportViewer1.Drillthrough += new DrillthroughEventHandler(DemoDrillthroughEventHandler);
    
        }
    
    
    
    
    
    
    
       public void DemoDrillthroughEventHandler(object sender, DrillthroughEventArgs e)
       {
      /*Collect report parameter from drillthrough report*/
        ReportParameterInfoCollection DrillThroughValues = e.Report.GetParameters();
        Type parameterName = Type.Parse(DrillThroughValues[1].Values[0].ToString());
    
      /*Bind data source with report*/
        LocalReport localReport = (LocalReport)e.Report;
        localReport.DataSources.Clear();
        localReport.DataSources.Add(new ReportDataSource("odsData", reportData));
        localReport.EnableHyperlinks = true;     
    
       /*Add parameter to the report if report have paramerter*/
        List<ReportParameter> parameters = new List<ReportParameter>();
        parameters.Add(new ReportParameter("ParameterName", ParameterValue));
        localReport.SetParameters(parameters);
        localReport.Refresh();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an RDLC report with three tables and associated data sets. In my
I have an WPF application which has a local rdlc report which show receipt
I have made a RDLC report which generates its tablix from the dataset I
I have a rdlc report in which I have a table with 6 columns.
I have created a project with a simple RDLC report in ASP.NET which when
I am using rdlc report, i have a column in database which i want
I have to create an RDLC report in asp.net. For which I am writing
I have report in .rdlc format. I have inserted table in my report which
I'm using Report Viewer Control (rdlc) to generate reports. One of my columns have
I am working with Rdlc report. I have these fields: First name Address1 Address2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.