title: How to export to PDF on the click of view report button of report viewer in vb.net
body: <p>Can you please help me how can I add my own code to report viewer button so that it will export my data directly to PDF.</p>
  
  <p>I got below answer in one of the thread want to know how this can be done.</p>
  
  <p>you could create your own custom report viewing control. The control would be comprised of fields for report parameters and a button to generate the report. When a user clicks the button you could generate the report in the background. You could display the report as a PDF.</p>