V12 WPF Viewer binding errors

Posted by: preston.c.phillips on 6 February 2018, 5:32 pm EST

    • Post Options:
    • Link

    Posted 6 February 2018, 5:32 pm EST

    I am attempting to display reports with the WPF viewer and the reports are being shown properly, however I am seeing a bunch of binding errors in the output that seem to be related to the WPF viewer. I have a XAML file that declares the viewer and has its data context bound to a VM file and the errors make it seem like the VM file should have these properties that I believe exist in the WPF viewer. What am I doing wrong?WpfViewerBindingErrors.zip

  • Posted 7 February 2018, 4:26 am EST

    Thanks for the Xaml page. I would like to know what does the ReportBuilder.CreateReport method return? Does it return a report object? And of which type of report (RDL, Page or Section)?

    Can you also try calling the report.Run() method before loading it in the Viewer.

    Thanks

  • Posted 7 February 2018, 10:45 am EST

    The CreateReport method takes a list of the headers and the report data and creates the section report.

    I tried calling report.Run() with the flag set to both true and false. In both cases I got an empty report and I still had the binding errors.

  • Posted 8 February 2018, 1:20 am EST

    I would need to take a look at your application to see where the issue occurs. Can you please attach it here? If it’s too large, please attach a stripped down version of it so I can debug it at my end without missing files or databases.

    Thanks

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels