1
Answer

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

Sanket Jain

Sanket Jain

9y
6.5k
1
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)