Declined
Last Updated: 29 Mar 2021 13:16 by ADMIN
Michael
Created on: 11 Sep 2017 05:35
Type: Feature Request
1
Web ReportViewer dynamic label exporting to CSV
Hi Team,

While exporting the report displayed in the web report viewer to CSV, we are exporting the textbox name as header value. Which leads to a problem while exporting a dynamic value whose control name is decided at run time. Please provide an option to assign and export value assigned at runtime.

Details of the issue are discussed in below link. Please have a look over the comment raised on 25th Sept 2014 by Perry. 
http://www.telerik.com/forums/exports-to-csv-contains-header-as-textbox-name

Thanks
2 comments
ADMIN
Milen
Posted on: 29 Mar 2021 13:16

All,

I am declining this request as it would break the integrity of the resulting CSV. If we are missing an angle in the discussion, please elaborate and we will reopen it.

Regards,
Milen
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

ADMIN
Milen
Posted on: 20 Sep 2017 09:25
Once the report rendering gets started, you should not add new items to the report definition. What you can do instead is to change the value of a TextBox item, for example.  Using appropriate expression, its text may be an empty string or other text, alternatively. Such approach will allow the CSV rendering extension to work correctly. For a CSV file to be consistent, the number of column headers on the first row should match the number of values on each subsequent row. This cannot be accomplished if an additional item appears on 5th detail for example. Keep in mind that the CSV export cannot aim to represent the layout of the report as you see it in a viewer control. This is a major difference compared with the Excel export. As a consequence to have a well-formed table in Excel, you need to layout the items in the report layout as a perfect table or use table item.
Does that work for you?