0

I am trying to render rdlc in winforms with

Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local

I am getting table control alignment issue when rendering

enter image description here

but when printing it is displaying properly enter image description here

below is the code I am using for render rdlc in winforms

Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local

        Dim LocalReport = Me.ReportViewer1.LocalReport
        LocalReport.Refresh()

        LocalReport.ReportPath = Application.StartupPath + "\\MessageReports\\Report2.rdlc"

        Dim dsReportDataSource = New Microsoft.Reporting.WinForms.ReportDataSource()
        dsReportDataSource.Name = "DataSet1"
        dsReportDataSource.Value = dtCancelMessage

        LocalReport.DataSources.Add(dsReportDataSource)

        Me.ReportViewer1.RefreshReport()

I am using using dotnet framework 4.8 Is this the known issue or am I doing anything wrong

Raja Kondla
  • 278
  • 3
  • 11

0 Answers0