I have a grid view with fixed header when i try printing it prints only one page
and not all the pages.
more over i am printing using asp panel
with labels and other texts also should be displayed.
any further information will be provided.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mukesh KumarRank #119 · 18.2K reputationPosted Oct 19, 2015, 10:54 PM EDT
Thahir Hussain109 reputationPosted Oct 19, 2015, 11:45 PM EDT
Mukesh KumarRank #119 · 18.2K reputationPosted Oct 19, 2015, 11:53 PM EDT
Hi,
You can try this one also
try this example:
type=’text/javascript”> function printform() { var printContent = document.getElementById(’ pnlForm.ClientID %>’); var windowUrl = ‘about:blank’; var uniqueName = new Date(); var windowName = ‘Print’ + uniqueName.getTime(); var printWindow = window.open(windowUrl, windowName, ‘left=50000,top=50000,width=0,height=0′); printWindow.document.write(printContent.innerHTML); printWindow.document.close(); printWindow.focus(); printWindow.print(); printWindow.close(); }Hope this helps
thanks
Thahir Hussain109 reputationPosted Oct 20, 2015, 12:23 AM EDT