Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello I am currently working on a project that requires printing reports, I would like to generate reports from any itemscontrol like a grid or list view and specify the columns I wish to print,(by default print all columns).

I would also like to generate printable columns for nontext fields like images which will be rendered on the print document.

The print class or behavior will collect information from the itemscontrol and generate a fixeddocument that will be displayed in a document viewer for printing.

I am thinking that if it is designed as a behavior it can be attached to any items control and thus become reusable and extendable.

Pls any advice on how to proceed will be greatly appreciated

Regards
Ronald
Posted
Comments
Mycroft Holmes 24-Jul-11 18:57pm    
I agree with Sharma's request, if you come up with a solution then an article or a tip/trick is justified!

1 solution

The whole idea is that you need to set different behavior of selected columns on print time. hopefully the following link give you some idea.


http://helpondesk.blogspot.com/2009/01/do-not-print-print-button-on-printed.html[^]

http://helpondesk.blogspot.com/2008/11/how-to-print-specified-div-only-rather.html[^]

please post the answer if you able to solve this :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900