Click here to Skip to main content
15,905,877 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: fileinfo object can't find file path Pin
marine8817-Dec-09 5:40
marine8817-Dec-09 5:40 
QuestionHow to disable calender control in firefox Pin
attalurisubbu7-Dec-09 8:34
attalurisubbu7-Dec-09 8:34 
Questionneed a help regarding chat program in asp.net(c#) Pin
Amit Spadez7-Dec-09 0:48
professionalAmit Spadez7-Dec-09 0:48 
AnswerRe: need a help regarding chat program in asp.net(c#) Pin
Abhijit Jana7-Dec-09 1:01
professionalAbhijit Jana7-Dec-09 1:01 
AnswerRe: need a help regarding chat program in asp.net(c#) Pin
Abhishek Sur7-Dec-09 4:03
professionalAbhishek Sur7-Dec-09 4:03 
GeneralRe: need a help regarding chat program in asp.net(c#) Pin
dan!sh 7-Dec-09 6:26
professional dan!sh 7-Dec-09 6:26 
GeneralRe: need a help regarding chat program in asp.net(c#) Pin
Abhishek Sur7-Dec-09 6:39
professionalAbhishek Sur7-Dec-09 6:39 
QuestionPDF Download Error. Pin
nccs12346-Dec-09 21:51
nccs12346-Dec-09 21:51 
I have Created a pdf file by using pdfSharp and save in a location.but when i want to open that pdf file on the link button click event down load dialogue box is appear and when i clicked the open button.Adobe Reader throws the Strange Error message.the Error Message is

Adobe Reader couldn't open "invoice__2009[1].pdf because it is either not supported file type or because the file has been damaged(for example it was sent as an email attachment and wasn't correctly decoded)



(my filename is only invoice__2009 but [1] is extra comming in the message)
can you help me for this matter?

My code sample is

string inv = Session["invN0"].ToString();
Response.Clear();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + inv);
Response.TransmitFile(Server.MapPath(("~/") + "Shopping/pdfInvoice/" + inv));

Response.End();



Thank You
Pawan
AnswerRe: PDF Download Error. Pin
Abhishek Sur7-Dec-09 0:48
professionalAbhishek Sur7-Dec-09 0:48 
GeneralRe: PDF Download Error. Pin
nccs12347-Dec-09 18:10
nccs12347-Dec-09 18:10 
Questioncheckbox list control Pin
mylogics6-Dec-09 20:49
professionalmylogics6-Dec-09 20:49 
AnswerRe: checkbox list control Pin
N a v a n e e t h6-Dec-09 20:56
N a v a n e e t h6-Dec-09 20:56 
GeneralRe: checkbox list control Pin
mylogics6-Dec-09 20:59
professionalmylogics6-Dec-09 20:59 
GeneralRe: checkbox list control Pin
Abhishek Sur6-Dec-09 21:14
professionalAbhishek Sur6-Dec-09 21:14 
GeneralRe: checkbox list control Pin
Abhijit Jana6-Dec-09 21:19
professionalAbhijit Jana6-Dec-09 21:19 
GeneralRe: checkbox list control Pin
Abhishek Sur6-Dec-09 21:34
professionalAbhishek Sur6-Dec-09 21:34 
AnswerRe: checkbox list control Pin
ketand17-Dec-09 0:13
ketand17-Dec-09 0:13 
QuestionMaking Forum in asp.net Pin
Any_India6-Dec-09 20:09
Any_India6-Dec-09 20:09 
AnswerRe: Making Forum in asp.net Pin
Abhijit Jana6-Dec-09 20:24
professionalAbhijit Jana6-Dec-09 20:24 
AnswerRe: Making Forum in asp.net Pin
manikebs7-Dec-09 0:29
manikebs7-Dec-09 0:29 
GeneralRe: Making Forum in asp.net Pin
Ashfield7-Dec-09 1:23
Ashfield7-Dec-09 1:23 
QuestionGetting cell values for selected rows in server side Pin
NK76-Dec-09 18:19
NK76-Dec-09 18:19 
AnswerRe: Getting cell values for selected rows in server side Pin
Nishant Singh6-Dec-09 19:35
Nishant Singh6-Dec-09 19:35 
GeneralRe: Getting cell values for selected rows in server side Pin
NK77-Dec-09 23:34
NK77-Dec-09 23:34 
QuestionWhat exactly Difference between Application and Session ? Pin
satyamzen6-Dec-09 14:47
satyamzen6-Dec-09 14:47 

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.