p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

aspdotnet_website_programming thread: formatting and printing webforms in vb.net


Message #1 by "poornima chalasani" <pxc5692@b...> on Fri, 7 Mar 2003 16:55:16
Hi
can any one tell me how to print the webforms.we can use printdocument in 
windows forms.cna we use the same to print webforms also
please help me out
thanking you
poornima
Message #2 by "Rahul Singh" <rahul.singh@a...> on Sat, 8 Mar 2003 07:04:10 -0500
You can print web forms from File >> Print. There is also a javascript
function that you can use to do this.

<form>
<input type="button" value="Print" Onclick="print()" ;>
</form>

<a href="javascript:print()">Print</a>

Rahul Singh
Anant Systems, Inc.

-----Original Message-----
From: poornima chalasani [mailto:pxc5692@b...] 
Sent: Friday, March 07, 2003 4:55 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] formatting and printing
webforms in vb.net

Hi
can any one tell me how to print the webforms.we can use printdocument
in 
windows forms.cna we use the same to print webforms also
please help me out
thanking you
poornima
---
Professional Design Patterns in VB.NET: 
Building Adaptable Applications

Want to know how design patterns bring reusable 
design and adaptabilty to your applications? How 
to recognize the need for a design pattern 
solution? How to select, design, and implement 
the right patterns? How parts of the .NET Framework 
(like the .NET Data Providers and .NET Remoting) 
take advantage of design patterns? This book 
presents a practical approach to using design 
patterns in VB.NET, by focusing on the relevance 
of design patterns in the different tiers of a 
distributed n-tier architecture. 

http://www.wrox.com/books/1861006985.htm



Message #3 by "poornima chalasani" <pxc5692@b...> on Sat, 8 Mar 2003 15:13:00
Hi
Thank u very much.I have tried using javascript.But I am getting 
printout  of only half of the data (breadth wise).I want to get the print 
out of entire datagrid with only headings and no buttons..please help me 
out
thanking you
poornima

> You can print web forms from File >> Print. There is also a javascript
function that you can use to do this.

<form>
<input type="button" value="Print" Onclick="print()" ;>
</form>

<a href="javascript:print()">Print</a>

Rahul Singh
Anant Systems, Inc.

-----Original Message-----
From: poornima chalasani [mailto:pxc5692@b...] 
Sent: Friday, March 07, 2003 4:55 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] formatting and printing
webforms in vb.net

Hi
can any one tell me how to print the webforms.we can use printdocument
in 
windows forms.cna we use the same to print webforms also
please help me out
thanking you
poornima
---
Professional Design Patterns in VB.NET: 
Building Adaptable Applications

Want to know how design patterns bring reusable 
design and adaptabilty to your applications? How 
to recognize the need for a design pattern 
solution? How to select, design, and implement 
the right patterns? How parts of the .NET Framework 
(like the .NET Data Providers and .NET Remoting) 
take advantage of design patterns? This book 
presents a practical approach to using design 
patterns in VB.NET, by focusing on the relevance 
of design patterns in the different tiers of a 
distributed n-tier architecture. 

http://www.wrox.com/books/1861006985.htm




  Return to Index