hi
I am making a site. I have a masterpage and content pages.
i wish to print some parts of the content page by putting a print button on the page that i wish to print.
well the content page has some flash objects, images, some text and a gridview that gets data from a database.
i just want to be able to print the text and especially the gridview. as in i need a printable version of the page. is there some c# portion of code to do it.
Any help on that? i will be very grateful.

labelle

Unfortunatley there is no magic wand for this one, one simplish way is to use user controls on your content pages, then have a printfriendly page which loads the usercontrols as required. That way you can show/hide content based upon a parameter on the query string

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.