Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Send PDF/HTML file as an Stream to a client

Send PDF/HTML file as an Stream to a client

Scheduled Pinned Locked Moved ASP.NET
htmlsysadminperformancequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Braulio Dez
    wrote on last edited by
    #1

    Hi, I would like to give the user the possibility to get an "pdf / html" receipt when he presses a button over my web page ( something like "print receive"). I have heard that it's possible to generate that file in memory as an stream and then send it to the client web page, is that possible or I have to create a temporary file in my server ? Thanks in advance, greetings Braulio

    M 1 Reply Last reply
    0
    • B Braulio Dez

      Hi, I would like to give the user the possibility to get an "pdf / html" receipt when he presses a button over my web page ( something like "print receive"). I have heard that it's possible to generate that file in memory as an stream and then send it to the client web page, is that possible or I have to create a temporary file in my server ? Thanks in advance, greetings Braulio

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      Braulio Díez wrote: I have heard that it's possible to generate that file in memory as an stream and then send it to the client web page, is that possible I think you mean HttpResponse.WriteFile() method. Mazy
      "One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups