PageHeader contains a Text field using PageExec, not exporting to Excel

4 posts, 0 answers
  1. Will
    Will avatar
    4 posts
    Member since:
    Nov 2014

    Posted 09 May Link to this post

    Stand Alone Q2 2016

    We need to include a value from the first data set record in the page header of reports.  In other report writers (Crystal) you siply put the field into the header and the value in the first record shows up file.

    In Telerik it looks like we need to use pageExec and reference a scope.  I am using the following expression in a text field in the header and it is showing up in the report fine.  The scope "ReportHeaderName" is the label of another text field located in the table that is in our detail section. 

    [=pageExec("ReportHeaderName",first(Fields.ReportHeaderName))]

    The problem I am having is that the field does not get exported to Excel. 

    How do I resolve the problem?

  2. Will
    Will avatar
    4 posts
    Member since:
    Nov 2014

    Posted 09 May in reply to Will Link to this post

    More information...

    Exporting to PDF includes the field just fine.

  3. DevCraft banner
  4. Will
    Will avatar
    4 posts
    Member since:
    Nov 2014

    Posted 09 May Link to this post

    More information...   Exporting to PDF works just fine for this header field.
  5. Katia
    Admin
    Katia avatar
    308 posts

    Posted 12 May Link to this post

    Hello Will,

    I believe it is the same question that you asked in the ticket #1033333, you can check the reply to the mentioned ticket.

    For anyone who's interested, the described behavior is logged in our systems a bug in the exporting mechanism of the HTML5 Report Viewer. When a report is exported to Excel formats from the viewer the result of PageExec function is not displayed.
    This issue was logged in our system for further investigation and improvement.

    In the meantime, please consider exporting to other formats (page-oriented) if your scenario is similar.

    Regards,
    Katia
    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