I make use of a ReportView component in a VB.Net 2005 app. How can I disable the PDF export functionality, only keeping the MS Excel format?
In code behind, load a hidden value when showing the report
this.ReportServViewer.ServerReport.Refresh();
this.hidReportViewing.Value = "algo";
then use the following javascript to set a timer to check for the export buttons to be rendered. When they are render, remove the button and clear the timer.
in the on load add (ie $(document).ready())
if ($('#hidReportViewing').val() != '')
{
intervalHandler = setInterval(removePDFFromReporting, 1500);
}