简体   繁体   中英

WinForms ReportViewer HTML Interactivity Not Working

I am trying to render a report via a C# application. The report successfully renders when I use both the "HTML5" and "HTML4.0" extensions, however the interactivity of the report is missing. Specifically the expand/collapse feature of a Matrix cell. Here is the code segment:

在此输入图像描述

The Winform version is Assembly Microsoft.ReportViewer.WinForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91

Does anyone know what I am missing to keep enable the interativity of the report?

I've figured it out. I had the DeviceInfo-HTMLFragment element set to true. Setting it to false, enabled the interactive features.

      "<DeviceInfo><HTMLFragment>False</HTMLFragment></DeviceInfo>";

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM