You need to sign in to do that
Don't have an account?

How to render the page as pdf from different page?
For example, i am having Page A & B....Page A having export button...if i click this button it has to render Page B as pdf but it should not go to page B and has to stay with Page A. How to do this?
Try the below link.
http://gaganbansalblog4u.com/2012/11/01/download-visualforce-page-data/
Use renderAs = pdf instead of "ContentType" to download as pdf.