I have one main report(rdlc file) which contains
three subreports(mapped to three different rdlc files). The
functionality am working in is that in a button click(with parameter
passing) the main report loads. The main report contains three columns
which is of type link. Each column is mapped to a subreport. Once the
link in a column is clicked the main report along with the respective
subreport should get displayed. Again, if the link field of another
column of the main report is clicked, the main report and its
respective subreport should open and the previously opened subreport
for the other column should not show. The visibility of the Subreports
must change according to the click of the link in the main report.
I have declared SubReportProcessingEvent as a sub report processing handler shown below.
AddHandler rvCompareLabels.LocalReport.SubreportProcessing, AddressOf SubReportProcessingEvent
Public Sub SubReportProcessingEvent(ByVal sender As Object, ByVal e As SubreportProcessingEventArgs)
I understand that in this method i have to do the code behind for displaying the subreports.
am confused as to how can i identify which link is being clicked and
how am i supposed to add the datasource for the subreport that should
open. How will i give the condition such that for the link that is
clicked only the subreport mapped to that link opens.
View Complete Post