Parag Chapre

How to hide SSRS Report Batch and printer settings

Spread the love

Create a controller class

create main method and below code.

TestController controller = new TestController();

controller.parmReportName(#ReportName);
controller.parmArgs(_args);
controller.showBatchTab(false); // Hide batch tab
controller.parmLoadFromSysLastValue(false);  //clear last selected value by user
controller.showPrintSettings(); // hide current print destination setting
controller.startOperation();

To hide current print destination setting override below method

public boolean showPrintSettings()
{
return false;
}

Leave a Reply

Your email address will not be published. Required fields are marked *