Need to call csv button from my custom button.
If you are trying to trigger the click event of another button and you are using jQuery (according to your tags), you can use
Click me
This selects the element with the id "ExportReporttoExcel" and triggers a click with using jQuery.