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. File Upload in asp.net

File Upload in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
3 Posts 3 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.
  • A Offline
    A Offline
    aaraaayen 0
    wrote on last edited by
    #1

    I am using to upload a file in a page. i am selecting some file in this object. but at every post back the content of the fileupload is gone. how to retain it. Please Help. Thanks in Advance Regards,

    Prya

    T E 2 Replies Last reply
    0
    • A aaraaayen 0

      I am using to upload a file in a page. i am selecting some file in this object. but at every post back the content of the fileupload is gone. how to retain it. Please Help. Thanks in Advance Regards,

      Prya

      T Offline
      T Offline
      Torsten Mauz
      wrote on last edited by
      #2

      I'm reasonably sure that you can't. The file input does not allow you to pre-populate it with a value for security reasons. Which is why the value will not be kept between post backs.

      1 Reply Last reply
      0
      • A aaraaayen 0

        I am using to upload a file in a page. i am selecting some file in this object. but at every post back the content of the fileupload is gone. how to retain it. Please Help. Thanks in Advance Regards,

        Prya

        E Offline
        E Offline
        ednrgc
        wrote on last edited by
        #3

        Why would you want to maintain a filename after postback?

        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