Print Panel in asp.net with OnClientClick="window.print"
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 ?