Sanket Jain

Sanket Jain

  • NA
  • 855
  • 140.2k

Print Panel in asp.net with OnClientClick="window.print"

Apr 4 2015 2:27 AM
I want to print panel data, I'm using following code :

<asp:Button ID="btnPrint" runat="server"  OnClientClick="window.print();"  Text="Print" />

But I'm getting whole page data i.e include print button also
So how to remove that Print button ?

Answers (1)