Create A Report Viewer RRS feed

  • Question

  • how to create a report viewer and RDLC and get the datepicker and generate a report
    Monday, October 3, 2016 1:22 PM


All replies

  • Please refer to the following links.

    Walkthrough: Using ReportViewer in a WPF Application: https://msdn.microsoft.com/en-us/library/hh273267.aspx
    Report Viewer in WPF: http://www.c-sharpcorner.com/uploadfile/nipuntomar/report-viewer-control-in-wpf/

    And here is an example of how to set report parameters:

    WPF RDLC Report and pass parameters: http://stackoverflow.com/questions/32339537/wpf-rdlc-report-and-pass-parameters

    Hope that helps.

    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

    • Proposed as answer by DotNet Wang Tuesday, October 4, 2016 1:22 AM
    • Marked as answer by DotNet Wang Wednesday, October 19, 2016 9:09 AM
    Monday, October 3, 2016 8:12 PM
  • Hi Carl,

    Report Viewer is  a Windows Forms control. To use it, we need to place a WindowsFormsHost control on your window then we could use Windows Forms control in WPF.

    If you are more familiar with Windows Forms, you could create a Windows Forms UserControl and implement what you need in this control. Then you could put this UserControl in WPF WindowsFormsHost element.

    Best Regards,
    Li Wang

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, October 4, 2016 1:22 AM