You must Sign In to post a response.
Category: ASP.Net MVC
#769621
you can use window.Print() method of javascript .
like this:
<input type="button" value="Print" onclick="window.print()" />
it will automatically pick the printers installed at client's machine.
Thanks!
Anjali Bansal
~Give your best and lead the world
like this:
<input type="button" value="Print" onclick="window.print()" />
it will automatically pick the printers installed at client's machine.
Thanks!
Anjali Bansal
~Give your best and lead the world
#769632
Write the following tag anywhere on your web form, after that run web page, after that click on Print button and then check out the result.
<input type="button" value="Print" onclick="javascript: print();" />
<input type="button" value="Print" onclick="javascript: print();" />
Return to Return to Discussion Forum