Hello ajithk444,
If you simply want to trigger downloading of the file then change your function pdf_report() to
function pdf_report() {
window.location = "Handlers/pdf_Handler.ashx",
}
To display it on the page I would use iframe. Place this to your html:
<iframe id="pdfWrapper" src="" width="100%"></iframe>
And when you want to display it on the page call this function:
function display report() {
$("#pdfWrapper").attr("src", "Handlers/pdf_Handler.ashx");
}
I also guess that the web page if not in the same directory as the handler. If this is the case specify the full path - e.g. /Handlers/pdf_Handler.ashx.
Let me know if this worked for you.