Skip to content Skip to sidebar Skip to footer

Asp.net Printing Page Using Javascript

I have a table with some styling like border,color etc. I want to print this table with the styling. How can I achieve this currently only raw data in showing without styling. this

Solution 1:

I guess you are unable to print your table with styling (colored border and graphics which used in your table or page) to achieve that in print you need to turn on "Print Background colors and images" which will be turn off by default. to change this settings you can check your browser print setup or print setting section and enable Print color and graphics section. or you need to mention css for print section as well to show same style like this in your stylesheet file. @media print{ your css goes here }


Post a Comment for "Asp.net Printing Page Using Javascript"