Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a web page
Message
 
To
08/12/2006 10:39:02
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01176074
Message ID:
01176213
Views:
6
>Sorry for the newbie question. After searching dotnet help, websites etc…, I can’t seem to find out how to put a button on the web page that simply prints the page like the user chose the option in the browser.
>Thanks.

You basically have to use JavaScript to do this.

Something like this should work:
<input type="button" value="Print" onClick="window.Print();">
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform