.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Download

Posted By: Rina     Posted Date: January 20, 2012    Points:5   Category :ASP.Net
How to download pdf file from asp .net

Responses
Author: Deco             
Posted Date: January 20, 2012     Points: 20   

you can simply use

window.open("path of the pdf document");

or you can also use anchor tag to download the pdf

Click <a href="full path of the pdf document">Here</a> to download the pdf

or in c# you can use

System.Diagnostics.Process.Start("full path of the pdf file");

Regards,
Deco


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend