Exports to CSV contain wrong header name

2 posts, 0 answers
  1. Ray
    Ray avatar
    3 posts
    Member since:
    Sep 2014

    Posted 09 Jun 2015 Link to this post

    I have a report which I view via a ReportViewer on a web page.  In the viewer, I can choose to export to CVS.  In the resulting CVS file, the headers do not show the names of the header textboxes like I want them to.  Instead, they show the default names that were given to the textboxs when the report was created.

     For instance, initially a header textbox was named "prodOrderDataTextBox" automatically.  In the properties of the textbox, I renamed it to "ProdOrder" and it is this name that I want to appear in the CVS file.

     How can I change this?

  2. Nasko
    Admin
    Nasko avatar
    1051 posts

    Posted 10 Jun 2015 Link to this post

    Hello Amy,

    This behavior of the CSV rendering extension is by design, as described in the Design Considerations for CSV Rendering help article:

    "The first record contains headers for all the columns in the report (the items' name, not value)."

    You can only remove these names from the exported CSV, as elaborated in the Configuring the CSV Rendering Extension KB article.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top