Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends!

I've an appln which prints the web page with charts. But the contents of Master Page is also printed as the web page is using Master Page and its must to use it.

Now my requirement is to print only chart in web page excluding the Master Page contents..is it possible? if so how..?!

Reply asap plz..

Regards,
Ravi kamesh..
Posted

Didn't I just answer this ? You need a popup with the chart, and no master page. Don't ask us to reply ASAP, you're getting your job done for you for free, you don't get to set a deadline.
 
Share this answer
 
Comments
prk@cp 23-Jul-12 3:26am    
Hey Graus, asap is jus formality..anyhow wont use hereafter..

And cant we print without using popup...I had the idea of using it but its alternate and wil use only when printing from web page is not possible...
Thanku..
Christian Graus 23-Jul-12 4:07am    
You can print any web page. Trouble is, you print the whole page, so if you only want to print some of it, you need to print a NEW page.
Create a popup that shows the chart but not in the masterpage. That's the only way, create a popup that is only what you want to print and call window.print() in it.
 
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