Tips and tricks for .NET using ASP and VB code.

Button to print current web page.




Add this HTML to the ASP web page source:

<asp:Button ID="PrintThisPageButton" runat="server" OnClientClick="JavaScript:window.print();" Style="vertical-align: middle" Text="Print This Page" />

No comments:

Post a Comment

Search This Blog