Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends,

Now I'm working on an asp.net web page it has a button, from that they calling a print dialog and print the particular page contents. Now, I have a requirement to open the page in a new tab (instead of open a print dialog) and with pdf view. From, that I've to do a printout.

I've go through several links and I couldn't be able to figure out a way to achieve this. Can anyone suggest me an idea regarding how I can do this?

For the button they are using a html button input field. This is where I'm stuck with.

Thanks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 23-Dec-14 1:54am    
It has nothing to do with ASP.NET. PDF is not a part of W3 standards, so you should never assume that the client system supports PDF. This is perfectly fine, because the user will be prompted to save PDF to read it later. You can completely forget this "requirements". It should be left to the user.
—SA
ridoy 29-Dec-14 10:25am    
See: http://www.codeproject.com/Questions/611274/Howplustoplusconvertplusaplusasp-net-C-pluspage

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