User-1438587911 posted
Oh wow, good idea. Never thought about that...
You could use jQuery:
$('#ctl00_cphBody_rv1_ctl05_ctl04_ctl00_Menu').children('div:lt(2)').css('display', 'none');
$('#ctl00_cphBody_rv1_ctl05_ctl04_ctl00_Menu').children('div:gt(2)').css('display', 'none');
Or, better yet... you could create your own print control and append it to the Report Viewer toolbar yourself. And not even use the export controls:
Add a linkButton or use an <a> tag or whatever, to your page:
<asp:LinkButton ID="lnkPrintPDF" runat="server" Height="15" Width="24" ToolTip="PrintPDF" OnClientClick="$find('ctl00_cphBody_rv1').exportReport('PDF');return false" />
Add a pageLoad() event to handle the appending of the above control to the report viewer toolbar:
function pageLoad() {
var lnkPrintPDF = $('#ctl00_cphBody_lnkPrintPDF');
reportBar = $('#ctl00_cphBody_rv1_ctl06').children('div');
if (reportBar.length > 0 && lnkPrintPDF) {
reportBar.append(lnkPrintPDF.css('visibility', 'visible'));
};
};