Click here to Skip to main content
15,884,893 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using the itextsharp and i want just to save it and display i have its class to make it but how to save it and display same on browser?


C#
Response.ContentType = "text/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + "_" + Session["Email"].ToString() + ".pdf");
Thread.Sleep(5000);
            
Response.End();



i am using the above code too
Posted
Updated 22-Nov-11 1:45am
v2

1 solution

 
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