Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2008, 05:58 PM
Authorized User
 
Join Date: Nov 2007
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent: Print address labels

I have less than two weeks to design this, and ive spend alot of time trying to research and am very surprised not to find anything.

I need to print address from an asp.net webpage. I know how to display the addresses in either a datalist or databinder, my problem is trying to get this to display and print onto sticky labels? Would i need a CSS/style sheet?

Please help.

Note: I cant use crystal reports or reporting services. The browser is not an issue as same browser will be used everytime.

 
Old January 11th, 2008, 08:59 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default

Yes you need to use CSS. You need to set it on controls which you don't want to print. Rest of your page will be printed using window.print() method of javascript.

<style media="print">
            .noprint { DISPLAY: none }
</style>

Apply this style to control which you don't want to print.

Regards,
Ali Irfan




Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing address labels from my ASP application bjtindle Classic ASP Databases 3 December 16th, 2007 08:00 AM
address labels to columnar form skrj02 Excel VBA 0 January 2nd, 2007 02:48 PM
labels from a name/address mySQL db p2p-mlh PHP Databases 1 June 8th, 2004 06:14 PM
name/address labels from mySQL db p2p-mlh PHP How-To 1 June 8th, 2004 06:14 PM
name/address labels from a mySQL db p2p-mlh Pro PHP 1 June 8th, 2004 06:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.