Behaviour of a link in a report in ReportViewer

  • Hi.

    I have an issue with a report that is about 10 years old.

    The report is running on an ASP.net application that is running off IIS and SQL Server 2017 on a Windows Server 2018 Server machine.

    The Asp.net application has a Report viewer control to view reports.

    There are links in the report that when clicked show a new table below the main table.

    Up to now when the links were clicked, there would be a postback and the new table would appear under the old table on the same page. This is the correct behaviour.

    But recently clicking on the links would open up a new page in the browser to show the link table.

    What would cause the link to open up a new browser window? Something in IIS? Or something else?

    Here is a screenshot of the report in Report Viewer.

    Attachments:
    You must be logged in to view attached files.
  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • The NoSniff Header is causing this issue.

    Other things that happen in the Report Viewer when nosniff is switched on is when you want to export an excel spreadsheet from the pulled report, the export button is not enabled after you select Excel.

    Take out nosniff and it is back enabled.

    Is there any workaround to stop these things happening in the Report Viewer?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply