i want to print my web page in my project but after the printing it add one line in that form i.e http://localhost.52487/dummy2/print.aspx .i want to hide this line .this line is disply automatically.
Thank you
Know the answer? Post it. Somebody with the same question will find it here.
Muhammad Adeel38 pointsPosted Oct 17, 2014, 10:02 PM EDT
with an asp:button :
<asp:Button ID="Button1" runat="server" CausesValidation="False" OnClientClick="javascript:self.print();return false;" Text="Button" UseSubmitBehavior="False" />
But it would be easier with a regular html button..