Click here to Skip to main content
15,890,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Error:A Generic Error occurred in GDI+ Pin
www.Developerof.NET29-Dec-09 1:10
www.Developerof.NET29-Dec-09 1:10 
QuestionRe: Error:A Generic Error occurred in GDI+ Pin
Udayaraju31-Dec-09 1:24
Udayaraju31-Dec-09 1:24 
AnswerRe: Error:A Generic Error occurred in GDI+ Pin
Abhishek Sur29-Dec-09 2:56
professionalAbhishek Sur29-Dec-09 2:56 
QuestionRe: Error:A Generic Error occurred in GDI+ Pin
Udayaraju31-Dec-09 1:29
Udayaraju31-Dec-09 1:29 
QuestionSSRS Chart issue Pin
siddisagar28-Dec-09 22:57
siddisagar28-Dec-09 22:57 
Questionhelp regarding AJAX Auto complete feature like outlook and gmail Send to TextBox Pin
navrajyadav28-Dec-09 22:32
navrajyadav28-Dec-09 22:32 
QuestionHow to show pdf file in asp.net Pin
kaushik_dass28-Dec-09 22:27
kaushik_dass28-Dec-09 22:27 
AnswerRe: How to show pdf file in asp.net Pin
Abhishek Sur28-Dec-09 22:32
professionalAbhishek Sur28-Dec-09 22:32 
You should have searched in this forum before asking. I have already answered this question several times.

Use this :
Byte[] docbytes =  this.getDocumentbytes("PDFDocument.pdf");
Response.ContentType = "application/pdf"; 
Response.AddHeader("content-length",docbytes.Length.ToString()); 
Response.BinaryWrite(docbytes); 


from getDocumentbytes read the file and return the bytes.
Thumbs Up | :thumbsup:

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

Windows7 API Code Pack

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

AnswerRe: How to show pdf file in asp.net Pin
sashidhar28-Dec-09 22:44
sashidhar28-Dec-09 22:44 
GeneralRe: How to show pdf file in asp.net Pin
Abhishek Sur29-Dec-09 3:00
professionalAbhishek Sur29-Dec-09 3:00 
GeneralRe: How to show pdf file in asp.net Pin
sashidhar29-Dec-09 17:09
sashidhar29-Dec-09 17:09 
QuestionSAML Pin
Jay Nathan128-Dec-09 21:49
Jay Nathan128-Dec-09 21:49 
Questionhow to handle postback event incloud computing Pin
krishnaveer28-Dec-09 20:49
krishnaveer28-Dec-09 20:49 
AnswerRe: how to handle postback event incloud computing Pin
Abhishek Sur28-Dec-09 21:42
professionalAbhishek Sur28-Dec-09 21:42 
AnswerRe: how to handle postback event incloud computing Pin
Addison Caffery31-Jan-10 20:03
Addison Caffery31-Jan-10 20:03 
GeneralRe: how to handle postback event incloud computing Pin
RyanJos4-Mar-10 20:04
RyanJos4-Mar-10 20:04 
QuestionCredit card processing (.cgi) Pin
Hemant Thaker28-Dec-09 20:29
Hemant Thaker28-Dec-09 20:29 
AnswerRe: Credit card processing (.cgi) Pin
satalaj29-Dec-09 1:17
satalaj29-Dec-09 1:17 
GeneralRe: Credit card processing (.cgi) Pin
Shivendra Pandey30-Dec-09 0:48
Shivendra Pandey30-Dec-09 0:48 
QuestionNeed SSRS format help Pin
siddisagar28-Dec-09 19:39
siddisagar28-Dec-09 19:39 
AnswerRe: Need SSRS format help Pin
Abhishek Sur28-Dec-09 20:24
professionalAbhishek Sur28-Dec-09 20:24 
GeneralRe: Need SSRS format help Pin
siddisagar28-Dec-09 21:31
siddisagar28-Dec-09 21:31 
GeneralRe: Need SSRS format help Pin
sashidhar28-Dec-09 22:39
sashidhar28-Dec-09 22:39 
QuestionInserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
Tufail Ahmad28-Dec-09 18:43
Tufail Ahmad28-Dec-09 18:43 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
vinodkrebc28-Dec-09 19:48
vinodkrebc28-Dec-09 19: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.