Click here to Skip to main content
15,885,216 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: return value wont save Pin
baselanfouqa23-Dec-09 2:53
baselanfouqa23-Dec-09 2:53 
AnswerRe: return value wont save Pin
Abhishek Sur22-Dec-09 21:25
professionalAbhishek Sur22-Dec-09 21:25 
Questionvisitors management code Pin
SEKHAR REYYI22-Dec-09 20:46
SEKHAR REYYI22-Dec-09 20:46 
AnswerRe: visitors management code Pin
Vimalsoft(Pty) Ltd22-Dec-09 20:51
professionalVimalsoft(Pty) Ltd22-Dec-09 20:51 
QuestionHow to Open PDF files Directly by ASP.net Page. Pin
shiva.kore22-Dec-09 19:33
shiva.kore22-Dec-09 19:33 
AnswerRe: How to Open PDF files Directly by ASP.net Page. Pin
Vasudevan Deepak Kumar22-Dec-09 20:25
Vasudevan Deepak Kumar22-Dec-09 20:25 
GeneralRe: How to Open PDF files Directly by ASP.net Page. Pin
shiva.kore22-Dec-09 20:36
shiva.kore22-Dec-09 20:36 
AnswerRe: How to Open PDF files Directly by ASP.net Page. Pin
Abhishek Sur22-Dec-09 21:33
professionalAbhishek Sur22-Dec-09 21:33 
First of all, you should make sure Acrobat plugin is installed in your browser.

You would have to use correct Content Type :

Response.ContentType = "application/pdf"; 
Response.AddHeader("content-length",contentBytes.Length.ToString()); 
Response.BinaryWrite(contentBytes); 


If you just need to open it in the browser totally, you can also use

Respose.Redirect("yourpdffile.pdf") which will automatically take the content type.

You should also look into the KB article of Microsoft :
http://support.microsoft.com/kb/307603/EN-US/[^]

Hope this one will help you. Rose | [Rose]

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

QuestionMerging common Rows in SSRS Pin
siddisagar22-Dec-09 19:10
siddisagar22-Dec-09 19:10 
Questionexcepted dtd markup was not found ???? Pin
koolprasad200322-Dec-09 19:04
professionalkoolprasad200322-Dec-09 19:04 
QuestionWebpart igoogle Pin
NETLearning22-Dec-09 13:16
NETLearning22-Dec-09 13:16 
AnswerRe: Webpart igoogle Pin
Abhijit Jana22-Dec-09 16:34
professionalAbhijit Jana22-Dec-09 16:34 
QuestionInfragistics WebDataGrid - populating off a button click Pin
TMFoust22-Dec-09 8:36
TMFoust22-Dec-09 8:36 
AnswerRe: Infragistics WebDataGrid - populating off a button click Pin
TMFoust22-Dec-09 11:25
TMFoust22-Dec-09 11:25 
QuestionWebpart Pin
NETLearning22-Dec-09 6:18
NETLearning22-Dec-09 6:18 
AnswerCross post: Re: Webpart Pin
Brij22-Dec-09 7:32
mentorBrij22-Dec-09 7:32 
GeneralRe: Cross post: Re: Webpart Pin
NETLearning22-Dec-09 11:33
NETLearning22-Dec-09 11:33 
GeneralRe: Cross post: Re: Webpart Pin
Abhijit Jana22-Dec-09 16:18
professionalAbhijit Jana22-Dec-09 16:18 
Questionwebpart Pin
NETLearning22-Dec-09 5:08
NETLearning22-Dec-09 5:08 
AnswerRe: webpart Pin
Estys22-Dec-09 5:57
Estys22-Dec-09 5:57 
GeneralRe: webpart Pin
NETLearning22-Dec-09 6:03
NETLearning22-Dec-09 6:03 
GeneralRe: webpart Pin
Estys22-Dec-09 7:20
Estys22-Dec-09 7:20 
GeneralRe: webpart Pin
NETLearning22-Dec-09 11:51
NETLearning22-Dec-09 11:51 
GeneralRe: webpart Pin
Estys22-Dec-09 23:13
Estys22-Dec-09 23:13 
Questionreturn value from showmodaldialog Pin
baselanfouqa22-Dec-09 3:48
baselanfouqa22-Dec-09 3:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.