hide link for Click here to view the PDF Report of your report server 15.0

Prasanna Dhere 1 Reputation point
2020-08-19T11:16:11.827+00:00

Generating rdlc report 15.0 while rendering there is option to print, while print there is link which comes to export to pdf , it needs to be disabled or removed
Also printing dialog come, there also save as pdf option comes, that also needs to be removed.
Please let out with solution

Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
653 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,706 Reputation points Microsoft Vendor
    2020-08-20T07:38:59.367+00:00

    Hi,

    If we configure the ReportView control to display Report Server reports(remote processing mode), please refer to the following thread to achieve this:
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/74dad27b-ef7e-4b9b-8922-666b317b3094

    If we configure the ReprotView control to display the local report(local process mode), please modify the code in the link above as attached.19061-code.txt

    Another option is to set the "Visible" property in the RS config file for the Report Server Services.

    You could refer to : SSRS - Disabling export options (eg. PDF) for individual reports
    https://stackoverflow.com/questions/15831328/ssrs-disabling-export-options-eg-pdf-for-individual-reports/37837285#37837285

    Regarding the "Print" option, you could deal with it using the same approach.

    If you still face the problem, you could provide us an code example so that we could use code to tell how to achieve your target.

    Hope this can help you.

    Thanks,
    Eleven

    0 comments No comments

  2. Prasanna Dhere 1 Reputation point
    2020-08-30T10:04:16.217+00:00

    21384-solution-required.png

    As per attached screenshot I am looking for hiding option of save as pdf from print preview page comes after clicking print button on reportviewer control 15.0

    Exact requirement is not to give any option to save the report at all, also the copy of report to be printed to be only one print at a time and as per the process.
    Hence i need help in this scenerio.

    Really thanks for your previous response. the functionality you mentioned is already in place.

    0 comments No comments

  3. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,706 Reputation points Microsoft Vendor
    2020-08-31T01:54:56.083+00:00

    Hi,

    Thank you for clarifying more on your request.

    After doing research and discussing with expert engineer, we found what the screenshot shows is the by-design print preview feature of web browser.

    There is no solution to make changes. Appreciate your understanding.

    Thanks,
    Eleven

    0 comments No comments

  4. Prasanna Dhere 1 Reputation point
    2020-08-31T04:54:58.727+00:00

    ohh..Then do i need to change the approach for the implementation? If you have any approach for printing directly with default printed setup and only one copy then it will be really great.

    0 comments No comments

  5. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,706 Reputation points Microsoft Vendor
    2020-09-01T01:26:24.01+00:00

    Hi,

    If you are using the app to display your report, then you could follow the previous solution we provided.

    But it seems you are using the service by web. There is not any way to make any changes since they are all by design.

    Thanks,
    Eleven

    0 comments No comments