I am developing an intranet web application. And I want to develop simple print function that I can use it to print a specific part from the web page and I can use it to print GridView or ListView with its style. I am searching about it in the web and most of what I found is javascript function that print the GridView, for example, with its style.
For instance, I used this Print Function that is based in C# class and it works but it prints the controls like GridView without its style that I have it in the webpage. So is there any simple function for printing?
Problem is your not render css during printing the page
according your link reference just add your stylesheet url in
PrintWebControlfunction codei.e
Hops its helps