| c# Programming Glossary: httpcontext.current.response.contenttypeNeed help with creating PDF from HTML using itextsharp http://stackoverflow.com/questions/2593116/need-help-with-creating-pdf-from-html-using-itextsharp  makae ready HttpContext HttpContext.Current.Response.Clear HttpContext.Current.Response.ContentType application pdf Create PDF document Document pdfDocument new.. 
 Write to CSV file and export it? http://stackoverflow.com/questions/3777874/write-to-csv-file-and-export-it  content disposition attachment HttpContext.Current.Response.ContentType text csv HttpContext.Current.Response.AddHeader Pragma public.. 
 How to export a FusionChart to Image in ASP.Net http://stackoverflow.com/questions/5003472/how-to-export-a-fusionchart-to-image-in-asp-net  content disposition String.Format attachment filename 0 fn HttpContext.Current.Response.ContentType image DropDownList1.SelectedValue Response.WriteFile fi.FullName.. 
 ASP.NET How To Stream File To User http://stackoverflow.com/questions/736301/asp-net-how-to-stream-file-to-user  attachment filename this.ReportFileName GetReportExtension HttpContext.Current.Response.ContentType GetApplicationContentType HttpContext.Current.Response.BinaryWrite.. 
 iTextSharp generated PDF: How to send the pdf to the client and add a prompt? http://stackoverflow.com/questions/8505995/itextsharp-generated-pdf-how-to-send-the-pdf-to-the-client-and-add-a-prompt  download thanks to your replies I modified my code to this HttpContext.Current.Response.ContentType application pdf HttpContext.Current.Response.AppendHeader Content.. content disposition attachment filename my_report.pdf  HttpContext.Current.Response.ContentType Application pdf Write the file content directly to the HTTP.. 
 Returning Json instead of XML with Umbraco Base http://stackoverflow.com/questions/9861285/returning-json-instead-of-xml-with-umbraco-base  Doe  json new JavaScriptSerializer .Serialize person HttpContext.Current.Response.ContentType application json HttpContext.Current.Response.Write json  And.. 
 |